Need Help with Formula for Payment Status Update in Excel

happydz

New Member
Joined
Jan 11, 2017
Messages
46
Office Version
  1. 2010
I am working with an Excel spreadsheet that tracks client orders and payments. I have two sets of columns: one for client names and their ordered quantities, and another for client names and their paid quantities. I need assistance with a function that accurately updates the payment status based on whether the ordered quantities match the paid quantities.I have already implemented a formula, but it incorrectly categorizes some clients as "not billed" even when their ordered and paid quantities match. I would appreciate any guidance on how to correct this issue or improve my existing formula.
 

Attachments

  • Capture.JPG
    Capture.JPG
    81.7 KB · Views: 11

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Which version of Excel are you using? It's helpful if you can update your profile to indicate your Excel version?
 
Upvote 0
In the meantime, using your example, try this formula in E2 and copy down:
Excel Formula:
=IF(ISNA(INDEX($A$2:$A$3,MATCH(1,(C2=$A$2:$A$3)*(D2=$B$2:$B$3),0))),"Not yet","Billed")

If you're not using Excel 2021 or 365, this needs to be enetered as an array formula using CTRL+SHIFT+ENTER.
 
Upvote 0
In the meantime, using your example, try this formula in E2 and copy down:
Excel Formula:
=IF(ISNA(INDEX($A$2:$A$3,MATCH(1,(C2=$A$2:$A$3)*(D2=$B$2:$B$3),0))),"Not yet","Billed")

If you're not using Excel 2021 or 365, this needs to be enetered as an array formula using CTRL+SHIFT+ENTER.
Not working as expected, you can notice for example that the value in cell B2 is exactly the same as in the cell D3 for the same client, but when running the formula in E2, it indicates "Not yet" see the attached screenshot.
I've updated the OP with my Excel version.
 

Attachments

  • not working.JPG
    not working.JPG
    60.8 KB · Views: 1
Upvote 0
I am working with an Excel spreadsheet that tracks client orders and payments. I have two sets of columns: one for client names and their ordered quantities, and another for client names and their paid quantities. I need assistance with a function that accurately updates the payment status based on whether the ordered quantities match the paid quantities.I have already implemented a formula, but it incorrectly categorizes some clients as "not billed" even when their ordered and paid quantities match. I would appreciate any guidance on how to correct this issue or improve my existing formula.
Mcrosoft Office Professionnel Plus 2010

Ver. 14.0.6023.1000 (64 bits)
 
Upvote 0
In the meantime, using your example, try this formula in E2 and copy down:
Excel Formula:
=IF(ISNA(INDEX($A$2:$A$3,MATCH(1,(C2=$A$2:$A$3)*(D2=$B$2:$B$3),0))),"Not yet","Billed")

If you're not using Excel 2021 or 365, this needs to be enetered as an array formula using CTRL+SHIFT+ENTER.
Mcrosoft Office Professionnel Plus 2010

Ver. 14.0.6023.1000 (64 bits)
 
Upvote 0
Not working as expected, you can notice for example that the value in cell B2 is exactly the same as in the cell D3 for the same client, but when running the formula in E2, it indicates "Not yet" see the attached screenshot.
I've updated the OP with my Excel version.
Just swap the “Not yet” and “Billed” in the formula.
Excel Formula:
=IF(ISNA(INDEX($A$2:$A$3,MATCH(1,(C2=$A$2:$A$3)*(D2=$B$2:$B$3),0))),"Billed","Not yet")
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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