Value used in the formula is of the wrong data set.

gperez1127

New Member
Joined
Oct 16, 2017
Messages
9
I have the following formula: =IF(AP32*AQ32*AR32*AS32>0,"Y","N")

I am creating a spreadsheet that gives results on a monthly basis and on a Quarterly basis. Under the quarterly basis I am getting the valued used error only on the columns that are blank. Not sure why this is happening only under the Quarterly and not monthly. It needs to return a Y if all the columns have numbers, if not then it needs to return an N
:oops:

Not sure where the issue is. Help Thank you
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
would something like this work?
=IF(AND(ISNUMBER(A1), ISNUMBER(A2),...), "Y", "N")
 
Upvote 0
Try this:

Code:
=IF(ISNA(MATCH("",AP32:AS32,0)),"Y","N")

or this:

Code:
=IF(COUNTIF(AP32:AS32,">0")=4,"Y","N")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,530
Messages
6,114,162
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top