Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I need to find and count certain words in a column and for each word have a different value and then add those values? EG =SUM((IF(Addresses!C:D="M Prawn",1)),(IF(Addresses!C:D="1/2 Prawn",0.5))) Is this possible? I need any cell in the range containing "M Prawn" to be worth 1 and any cell containing "1/2 Prawn" to be worth 0.5. Therefore if there is 1 cell of each the result would be 1.5. Also I don't want to actually have the "M Prawn" or "1/2 Prawn" in the formula. I want to have a cell reference to a separate cell that contains the words "M Prawn" etc. EG =SUM((IF(Addresses!C:D=A5,1)),(IF(Addresses!C:D=A6 ,0.5))) What am I doing wrong or is there a better way? Thanks in advance Rachel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting unique text that meets several criteria | Excel Worksheet Functions | |||
Need help on counting text within certain criteria | Excel Worksheet Functions | |||
How can I fix HYPERLINK(B2,E2) to the resulting text and link? | Excel Discussion (Misc queries) | |||
Zeros in text resulting in #div/0! even when using IF function | Excel Discussion (Misc queries) | |||
Counting text criteria | Excel Worksheet Functions |