Matching cells with "" or same two cells matching numbers

Papi

Well-known Member
Joined
May 22, 2007
Messages
1,592
What would I have to do if B9=B14 are both equal but not with blank cells in each cell. If they both show nothing it returns "Paid" because the two blank cells match but I need it to have two matching numbers and then return "Paid"

Code:
=IF(C2>0,C2,IF(B9=B14,"Paid",IF(B9>B14,"Over",IF(B9<B14,"Owe",IF(SUM(B9:B15)="","",IF(B21>0,"Inv",IF(SUM(B9:B15)="","",IF(B20>0,"Moving",IF(B19>0,"Meet",IF(B18>0,"Question",IF(B17>0,"Entered",IF(B16>0,"Plant"))))))))))))
Thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,223,713
Messages
6,174,043
Members
452,542
Latest member
Bricklin

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