A formula that will pickup a new cell and exclude the prior cells

BrianHall

New Member
Joined
Nov 6, 2013
Messages
38
Good afternoon,

I'm trying to figure out a formula that will pickup the current month data automatically but at the same time exclude the prior months data. This will be done in a seperate summary tab from the source data tab.

I should mention that this is a monthly report. So every month that I run the report I need the summary tab to pick up the current data souce that I manually enter.

I hate having to point and click the new month data within the summary tab all the time.

Any help would be greatly appriciated.


Thank you....
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Not sure I understand what you want but some info that might help you out.

To have the cell always use the current month put =MONTH(TODAY()) this will return 11 for November, so next month it should be 12 for December. You don't have to manually update the month just use a SUM with an array.

=SUM(IF(MONTH(H1:H26)=MONTH(TODAY()),I1:I26,0))


Excel 2010
BCDEFGHI
1148810-Jan324
211-Jan423
312-Jan4
413-Jan32
511-Nov42
612-Nov34
713-Nov32
814-Nov4
915-Nov324
1016-Nov32
1117-Nov343
1218-Nov3
1319-Nov2
1420-Nov2
1521-Nov432
1622-Nov4
1723-Nov234
Sheet10
Cell Formulas
RangeFormula
B1{=SUM(IF(MONTH(H1:H17)=MONTH(TODAY()),I1:I17,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Good afternoon Shyy,

What I'm looking for is to have the data in Tab #1 (below) automatically pick up the data in Tab #2 (below) when new monthly data is added.

I hate going back into Tab #1 to change the formula to pick up the current data (month) in Tab #2.

I'm just wondering if there is a way to accomplish this task?


<COLGROUP> <COL style="WIDTH: 48pt" span=3 width=64> <TBODY>
</TBODY>
Tab #1
MonthMTDYTD
Apr47

<COLGROUP> <COL style="WIDTH: 48pt" span=3 width=64> <TBODY>
</TBODY>

<COLGROUP><COL style="WIDTH: 48pt" span=2 width=64><TBODY>
</TBODY>


Tab #2
MTDYTD
Jan11
Feb23
Mar35
Apr47
May59
Jun611
Jul713
Aug815
Sep917
Oct1019
Nov1121
Dec1223

<COLGROUP><COL style="WIDTH: 48pt" span=3 width=64><TBODY>
</TBODY>
 
Upvote 0
In tab #1 in the month cell:
Code:
=CHOOSE(MONTH(TODAY()),"Jan","Feb","Mar","Apr","May","Jun","Jul""Aug","Sep","Oct","Nov","Dec")
then use vlookups in tab#1 MTD and YTD cells to lookup the month and return MTD and YTD from the table in tab #2.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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