Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   Help from excel wiz please ... (https://www.cableforum.uk/board/showthread.php?t=29650)

markmarkymark 02-06-2005 07:06

Help from excel wiz please ...
 
Greetings ....

Suppose I have a column A that has the following data:

X
Y
Y
Z
X
X

Suppose I also haev column D which has the following data (opposite the data above)

10
20
22
50
15
12

How do I use lookup (I have tried I promise!!) to sum that totals of A, B and C in the following format:

Total X Total Y Total Z
37 42 50

Obviously I need to do three sums which look up Column A and only add the content of Column D if a particular row as the criteria I am looking for (i.e. X values, Y values or Z values .......

thanks to the wiz that can help me out here!!
cheers

Mark

bmxbandit 02-06-2005 08:04

Re: Help from excel wiz please ...
 
i'd say to use sumif() to create a table of sums (then use vlookup() to look up these sums from another document, if thats what you need). i'm in a bit of a hurry but ill answer more fully later if nobody else has! :)

gazzae 02-06-2005 08:54

Re: Help from excel wiz please ...
 
As bmxbandit says use SUMIF.

Say if the critera is in column A rows 1-6 and the data is in column B rows1-6 then the sumif to total all the X's would be this....

=SUMIF(A1:A6,"X",B1:B6)

bmxbandit 02-06-2005 08:55

Re: Help from excel wiz please ...
 
for x:

=sumif(A1:A6,"X",B1:B6)

others likewise

markmarkymark 02-06-2005 17:35

Re: Help from excel wiz please ...
 
thanks All !!

mark


All times are GMT. The time now is 15:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum