Dynamic Total to Date.

rcolving

Board Regular
Joined
May 23, 2002
Messages
124
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
Platform
  1. Windows
I need to write a formula that looks at a date entered in a field that does a lookup on a data sheet and adds totals from the beginning of our fiscal year through to existing date.

Example.
date entered is 11/30/2009.

Data sheet has monthly totals for
Jan - Nov 2009
Need calculation of totals from fiscal year start (July) through Nov.

When date entered is 9/30/2009
Need calculation of totals from fiscal year start (July) through Sep.

I've got a vlookup that can pull a single month total but not sure how to get total of more than one cell.

The formula I use for one month total is =VLOOKUP(G$7,'Data Sheet'!$A$2:$AC$122,2,TRUE)

Any help would be appreciated.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Try this:
dadq.png


Array formula(confirm CTRL+SHIFT+ENTER)
 
Upvote 0

Forum statistics

Threads
1,214,594
Messages
6,120,436
Members
448,964
Latest member
Danni317

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