Cell formula functions correctly in one workbook but doesn't not function correctly in another

Brock_Hardchest

New Member
Joined
Feb 23, 2018
Messages
27
Hello,

I have two identical workbooks, one I i saved a month ago and has a correctly functioning formula and the other I am using today with same formula that does not function correctly. The only difference is the number in column M. The logic for the formula in cell S8 should produce M8*N8 which it does in the workbook from last month but produces "-" today. I even copied and pasted the formula back and forth to make sure they are identical. Any ideas? Stumped on this.

The formula in S8 is:
Excel Formula:
=IF(AND(G8="Monthly Minimum",SUMIFS(R:R,B:B,B8,I:I,"<>N/A")<H8),H8,IF(AND(G8<>"Monthly Minimum",SUMIFS(R:R,B:B,B8,I:I,"<>N/A")<H8,OR(I8="N",I8="Y")),0,IF(AND(G8="Tier Price",L8="Achieved"),N8,IF(OR(AND(I8="N",L8="Y"),AND(G8="Tier Price",I8="N/A",L8="Y")),0,IF(OR(AND(I8="N",L8="N"),I8="Y",AND(G8<>"Tier Price",I8="N/A")),M8*N8,0)))))

1701719496813.png

1701719526029.png
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Can't see all of your data, but presumably one of your criteria that return 0 is being met. Possibly the second one, though I can't be sure of what your SUMIFS is returning.
 
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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