Goal Seek or What if Analysis to be used in order not to calculate the total revenue beyond certain date

VKiprijan

New Member
Joined
Feb 24, 2021
Messages
29
Office Version
  1. 2016
Platform
  1. Windows
Hi Folks,

I need a two-way solution either in Goal Seek or in What if Analysis that WILL NOT calculate the total sum of revenue in the cell E15 if the dates in the cell B2 and B3 are between 01-Sep-2023 and 31-Dec-2023 for example. Also, if you can provide the formula in cell E15 that will do this will be great.

Thank you in advance.

Book1.xlsx
ABCDE
1
2Beginning Date01-09-23DepartmentCompany X
3Ending Date31-12-23Finance1270
4HR3560
5IT2450
6Facilities1350
7Operations4200
8Legal4450
9Commercial6310
10Projects7570
11Logistics3890
12Maintenance5650
13Transport5260
14
15Total Revenue45960
Sheet1
Cell Formulas
RangeFormula
E15E15=SUM(E3:E13)
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try -

Excel Formula:
=IFERROR(SUMIFS(E3:E13,B2,"<"&DATE(2023,9,1),B3,">"&DATE(2023,12,31)),"Check dates")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,972
Messages
6,128,027
Members
449,414
Latest member
sameri

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