Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
I need my formula to analyse numerical and text data
I need my formula to look at numerical and text data, can it do that? Eg
COUNTIF(C2:C50,"1",and D2:D50,"M") I know COUNTIF won't work, but how do I phrase the formula? I have a ton of these to work out for a mega spreadsheet and I am stuck!! All help appreciated! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
I need my formula to analyse numerical and text data
Hi,
you can but what is the result you are looking for once you met both condition summarize another column?? "Nightrunning" wrote: I need my formula to look at numerical and text data, can it do that? Eg COUNTIF(C2:C50,"1",and D2:D50,"M") I know COUNTIF won't work, but how do I phrase the formula? I have a ton of these to work out for a mega spreadsheet and I am stuck!! All help appreciated! |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
I need my formula to analyse numerical and text data
=SUMPRODUCT(--(C2:C5=1),--(D2:D50="M"))
Will do a countif both columns meet the criteria. "Eduardo" wrote: Hi, you can but what is the result you are looking for once you met both condition summarize another column?? "Nightrunning" wrote: I need my formula to look at numerical and text data, can it do that? Eg COUNTIF(C2:C50,"1",and D2:D50,"M") I know COUNTIF won't work, but how do I phrase the formula? I have a ton of these to work out for a mega spreadsheet and I am stuck!! All help appreciated! |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
I need my formula to analyse numerical and text data
If that 1 is a really a number:
=sumproduct(--(c2:c50=1),--(d2:d50="m")) or If that 1 is really text: =sumproduct(--(c2:c50="1"),--(d2:d50="m")) Adjust the ranges to match--but you can't use whole columns (except in xl2007). =sumproduct() likes to work with numbers. The -- stuff changes trues and falses to 1's and 0's. Bob Phillips explains =sumproduct() in much more detail he http://www.xldynamic.com/source/xld.SUMPRODUCT.html And J.E. McGimpsey has some notes at: http://mcgimpsey.com/excel/formulae/doubleneg.html ===== And if you're running xl2007, there's a new =countifs() function. You can read about that in excel's help. Nightrunning wrote: I need my formula to look at numerical and text data, can it do that? Eg COUNTIF(C2:C50,"1",and D2:D50,"M") I know COUNTIF won't work, but how do I phrase the formula? I have a ton of these to work out for a mega spreadsheet and I am stuck!! All help appreciated! -- Dave Peterson |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
I need my formula to analyse numerical and text data
Since you have a ton of these, this link might be helpful...
http://www.xldynamic.com/source/xld.SUMPRODUCT.html -- HTH... Jim Thomlinson "Nightrunning" wrote: I need my formula to look at numerical and text data, can it do that? Eg COUNTIF(C2:C50,"1",and D2:D50,"M") I know COUNTIF won't work, but how do I phrase the formula? I have a ton of these to work out for a mega spreadsheet and I am stuck!! All help appreciated! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I need to analyse data across a number of filtered columns | New Users to Excel | |||
Formula - Analyse range, return unique value | Excel Worksheet Functions | |||
Text and Numerical data in a Pivottable without summarising? | Excel Discussion (Misc queries) | |||
how do you use a chisquare function to analyse data | Excel Worksheet Functions | |||
how do I analyse two spreadsheets for missing data? | Excel Discussion (Misc queries) |