If a cell equals 0, complete a sumifs using and/or

blaix

New Member
Joined
Jan 21, 2022
Messages
10
Office Version
  1. 365
Platform
  1. Windows
I am sure this is far more straightforward than I am making it out to be, but I am simply trying to produce one column (Column L) that -
  • Will sum the total invoiced to a client YTD (Data in another sheet called Invoicing)
  • If that total is 0, I want it to assume $1500 if data in column A says Business or $800 if data in column A says Individual.
How it currently looks:
Entity TypeClient Name2023 Invoice
BusinessABC Co.2600
BusinessWe Do Business Stuff0
IndividualBob McBobberson5125
IndividualShooty McFace0


How I'd like it to return:
Entity TypeClient Name2023 Invoice
BusinessABC Co.2600
BusinessWe Do Business Stuff1500
IndividualBob McBobberson5125
IndividualShooty McFace800

I may need to use a helper column where 2023 Invoice returns what has been paid or 0 and another column of IF 0 then, but I can get a formula to partially work and return 1500 if '2023 Invoice' is blank and A is Business, but can't figure out how to write it for both or I can figure out how to calc 1500 for biz, 800 for individual, but not how to overwrite if something is already in '2023 Invoice' column.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Nevermind, I should have just stuck it out a bit longer... = IFS(L22<>0,L22,AND(L22=0,A22="Business"),1500,OR(L22=0,A22="Business"),800)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,193
Messages
6,123,560
Members
449,108
Latest member
rache47

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