Forum Discussion
cmckernan93
Jul 26, 2022Copper Contributor
HELP - conditional summing a field based on a product number and week number from another table
Hello I have attached 2x sheet screenshots below - one called 'target' which I want to put the formula in and one called ''source' which is where is want to pull the info from What is the r...
- Jul 27, 2022
The formula in ABC!M2 is
=IF(OR(O2="Positive"),"0",IF(OR(O2="Negative"),"1"))
- "0" and "1" are text values, not numbers. You should use 0 and 1 instead.
- There is no need to use OR here
cmckernan93
Jul 27, 2022Copper Contributor
thanks
it's still giving me a '0' value so the formula is working just not picking up my value in the 'source' column
is there anything else i am doing that could be causing the error?
HansVogelaar
Jul 27, 2022MVP
Could you attach a sample workbook (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar? Thanks in advance.
- cmckernan93Jul 27, 2022Copper Contributor
no problem, i have attached a sheet below
I have deleted data out of this leaving only the 2 sheets I want to look up from and the one I want to put info in
*link removed*
- HansVogelaarJul 27, 2022MVP
The formula in ABC!M2 is
=IF(OR(O2="Positive"),"0",IF(OR(O2="Negative"),"1"))
- "0" and "1" are text values, not numbers. You should use 0 and 1 instead.
- There is no need to use OR here