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
:banghead:

Not sure where the issue is. Help Thank you
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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