"Need Excel Lifeline: This Formula's Got Me Numb!

JurieDT

New Member
Joined
Sep 30, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi đź‘‹

I have been struggling with a ....what I think should be a very simple formula, but I just can't get figure it out :rolleyes:
It can be any formula that counts or even if I can get a True or False outcome that would be good.

I have a sales dashboard with budgets/current sales and budget vs sales, I want to create a spreadsheet that will track the budgets.

My formula needs to do the following

My budget is 0 , I sold 1 my sales is more than 0 – outcome should be false (if this is a countifs formula this should not be counted)

My Budget is 1 , I sold 1, my sales is equal to MY BUDGET– outcome should be true (if this is a countifs formula this should be included in my count)

My Budget is 1, I sold 3 , my sales is more than MY BUDGET– outcome should be true (if this is a countifs formula this should be included in my count)

My Budget is 30 , I sold 20 , my sales is less than MY BUDGET– outcome should be false (if this is a countifs formula this should not be included in my count)

Count if my sales are equal to or more than my budget.
Don't count if my sales are less than my budget
Don't count if I had sales for something that did not have a budget.


I am not sure if I am even making sense with my first explanation so here is another one .....

If I have a budget and I sold more than my budget - true/include in my count
If I don’t have a budget but I sold the product- false/should not be included in my count
If I have a budget and I sold less than my budget-false/should not be included in my count
If I have a budget and I sold the same amount as my budget -true/include in my count

Attached is a manual calculation of what I want, but it seems like I get stuck when my Budget is 1 and I sold 1, and my budget vs sales is 0.
I can't exclude all zero's because then it excludes if I have a budget that's 1 and I sold 1 my budget vs sales will be sitting on 0 , and this needs to be included in my count because I reached my budget.... this seems to be my issue.



Please help ...
 

Attachments

  • Example 1 .png
    Example 1 .png
    10.1 KB · Views: 7
  • Example 2.png
    Example 2.png
    9.6 KB · Views: 6

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.
Do you just mean this:

20240806 Countifs Actual vs Budget JurieDT.xlsx
ABC
1
2Current YearBudgetActual vs Budget
3
425-3
5000
601-1
7525-20
8220
9110
10452916
11101
12301515
13321
1415105
15
16Budget Reached6
17Budget Missed3
Sheet1
Cell Formulas
RangeFormula
C4:C14C4=A4-B4
B16B16=COUNTIFS($B$4:$B$14,"<>0",$C$4:$C$14,">=0")
B17B17=COUNTIFS($B$4:$B$14,"<>0",$C$4:$C$14,"<0")
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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