Re: Need to compute values in 2 column's

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Sun, 23 Jul 2006 22:58:23 -0400, michael.woosley
<michael.woosley.2bfiq8_1153710010.3035@xxxxxxxxxxxxxxxxxxxxx> wrote:

I am a National Guard technician and I'm trying to determine the
following;

I have several different types of equipment from different states. I
want to count how many tanks I have that are from Kentucky and have
this result posted in a cell. I also have the same equipment that
belongs to Tennessee and I need to know how many of these same pieces
belong to Tennessee. I've tried several different formula's but with
no luck.

The easiest way (assuming your file is of any real size) would be to
create a boolean condition that would have the value 1 or 0 and then
do a count.

For instance if Column A = type of unit (e.g. tank or non-tank) and
Column B was State then Column C could be =if(A1='tank' AND
B1='KY',1,0) while D could be if(A1='tank' AND B1='TN',1,0). You then
go ctrl-D over the range of all your data and count up the 1's in
columns C and D. (If you just need the info rather than for a report
simply highlighting the range will give you the number in the bottom
right corner)

This technique isn't suitable when you have a large number of
different values in column B but is 'quick and dirty' enough for most
things. Ctrl-D is a wonderful thing!
.



Relevant Pages

  • Re: When was the turning point in technologys impact on war?
    ... > equiped with top line MIG's, SAM's, tanks, and AAA. ... You're saying that equipment produced by the USSR, including the MiG 19, ... but being defeated by superior technology is the most bonkers yet. ...
    (sci.military.moderated)
  • Re: old SCUBA gear what to do
    ... USD 80 cubic foot cylinder with J-valve, a pressure guage attached to ... the regulator and possibly the BC have little or no value. ... If the equipment can be serviced and is functional, ... When I condemned some old AL tanks, I drilled a hole through the shoulder of each, rendering them unusable for anything but scrap. ...
    (rec.scuba.equipment)
  • Re: Oxy welding newbie questions
    ... What's the better deal on tanks? ... The local Airgas web page (much more expensive equipment) lists all ... But are the numbers different gas mixes, ... Kind of like barbeque bottles at the local ...
    (rec.crafts.metalworking)
  • Re: Anybody Read Pat Buchannans Unnecessary War?
    ... The German 88 cannon made a hell of a difference picking off tanks at great range. ... British tankers refereed to their own tanks has having pee-shooters on the top. ... The British had more men with inferior equipment, ... The British had the requisite equipment to kill those guns; lack of effective combined arms operations caused the issues. ...
    (soc.history.war.world-war-ii)
  • Need to compute values in 2 columns
    ... I have several different types of equipment from different states. ... belongs to Tennessee and I need to know how many of these same pieces ... Kentucky MATES ...
    (microsoft.public.excel)