Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Arrays/Functions/Different datatypes in a formula?
I am currently using this formula.
=SUMPRODUCT(--($C$6:$C$148=2006),--($E$6:$E$148=5000),--($G$6:$G$148=A),-- ($I$6:$I$148)) Although all values in all the columns are numeric, one column stores alphabetical values, and the formula is not returning any value. is it because arrays have to contain the same data type? Thanks in advance |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Arrays/Functions/Different datatypes in a formula?
"Jess" skrev i en meddelelse
... I am currently using this formula. =SUMPRODUCT(--($C$6:$C$148=2006),--($E$6:$E$148=5000),--($G$6:$G$148=A),-- ($I$6:$I$148)) Although all values in all the columns are numeric, one column stores alphabetical values, and the formula is not returning any value. is it because arrays have to contain the same data type? Thanks in advance Hi Jess Maybe all you need is a pair of double quotes around A to tell Excel, that it's text: ($G$6:$G$148="A") -- Best regards Leo Heuser Followup to newsgroup only please. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Arrays/Functions/Different datatypes in a formula?
Hi Leo, Thanks so much.I had tried that earlier, but it returned an error,
that was a mistake on my part, coz i was trying it on another column. Its working now,thank you! Guess things work out the best when u work a little slower,rather than trying to get things done fast.Miss what your looking for........... T's again. "Leo Heuser" wrote: "Jess" skrev i en meddelelse ... I am currently using this formula. =SUMPRODUCT(--($C$6:$C$148=2006),--($E$6:$E$148=5000),--($G$6:$G$148=A),-- ($I$6:$I$148)) Although all values in all the columns are numeric, one column stores alphabetical values, and the formula is not returning any value. is it because arrays have to contain the same data type? Thanks in advance Hi Jess Maybe all you need is a pair of double quotes around A to tell Excel, that it's text: ($G$6:$G$148="A") -- Best regards Leo Heuser Followup to newsgroup only please. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Arrays/Functions/Different datatypes in a formula?
"Jess" skrev i en meddelelse
... Hi Leo, Thanks so much.I had tried that earlier, but it returned an error, that was a mistake on my part, coz i was trying it on another column. Its working now,thank you! Guess things work out the best when u work a little slower,rather than trying to get things done fast.Miss what your looking for........... T's again. You're welcome, Jess. Thanks for the feedback. Leo Heuser |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |