Get pie chart to use current month's data

Jo4x4

Board Regular
Joined
Jan 8, 2011
Messages
136
Hi everybody,

I have a sheet with Jan to Dec in column a, and then data in eleven columns c-m

Below this, I have two pie charts, one for the current month, and one for the year to date.

How do I get the current month to update and use the current month's data?

Thanks in advance

Jo
Win 7 & excel 2007
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Hi there. You could create a new row (I assumed row 14) labelled 'Current' in column A14 and put this formula in C14 and drag across to column M. Then use that range for your pie chart:
=VLOOKUP(TEXT(TODAY(),"mmm"),$A$1:$M$12,COLUMN(C$14),FALSE)

Regards
John
 
Upvote 0
Hi both,

Could either of you perhaps dumb this down to make an Excel-novice understand?

Im in a similar situation as listed above. But im not confident how to use the formular written by @jmacleary. (also my excel is in a different language, but I have the translations down). If i write the exact formular listed, I get an error.

Any help is very appreciated!

Br
 
Upvote 0
Is your data the same ?
In column A the names of the month (3 characters ! Jan , Feb, ...) ?
what is your language ?
Otherwise show your (non sensitive) data with the XL2BB-tool.
 
Upvote 0
My tab has months listed in row 2 (from B2:M2) with full characters, so im using "mmmm", and data in column A, which means Im also using HLOOKUP.

I can't seem to press any cells without getting an error. Am I supposed to implicitly fill something into the formular written above?

Thanks for your response!
 
Upvote 0
Hi both,

Could either of you perhaps dumb this down to make an Excel-novice understand?

Im in a similar situation as listed above. But im not confident how to use the formular written by @jmacleary. (also my excel is in a different language, but I have the translations down). If i write the exact formular listed, I get an error.

Any help is very appreciated!

Br
Hi, I know very little about how this works.
 
Last edited by a moderator:
Upvote 0
Thank you for your answer @BSALV! Unfortunately i couldn't get it working and I've done some research the last few days without luck resolving my issue..

Here's the sheet im working in. What im seeking, is to produce a pie chart consisting of the current months costs, while updating automatically when a new month occurs.

Forskudsopgørelse og budget.xlsx
ABCDEFGHIJKLM
1Regnskab 2022
2Incomejanuarfebruarmartsaprilmajjunijuliaugustseptemberoktobernovemberdecember
3Income 1
4Income 2
5Income 3
6Total income0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $
7
8Expenses
9fixed costs
10fixed cost 1
11fixed cost 2
12fixed cost 3
13fixed cost 4
14
15Variable costs
16Variable cost 1
17Variable cost 2
18Variable cost 3
19Variable cost 4
20Variable cost 5
21Variable cost 6
22Variable cost 7
23Total costs0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $0.00 $
24
25
26Opsparing
27Rest
Ark3
Cell Formulas
RangeFormula
B2:M2B2=TEXT(DATE(1,COLUMN()-1,1),"mmmm")
B6:M6B6=SUM(B3:B5)
B23:M23B23=SUM(B10:B22)
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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