I am looking for some help who can give me a excel formula which can return data based on current month and previous month dynamically. Attached the excel for your reference.
I am looking for some help who can give me a excel formula which can return data based on current month and previous month dynamically. Attached the excel for your reference.
You can use this formula in Q3 (just in case the values in column P are not in the same order as column B):
=INDEX($C$3:$N$9,MATCH($P3,$B$3:$B$9,0),MONTH(TODAY()))
and this one in R3:
=INDEX($C$3:$N$9,MATCH($P3,$B$3:$B$9,0),MONTH(TODAY())-1)
Copy both formulae down as required.
Hope this helps.
Pete
Try this,
Q3
=INDEX(3:3,,MONTH(TODAY())-COLUMNS($Q3:Q3)+3)
copied down and across.
Try . In Q3 copied to full range.
Formula:Please Login or Register to view this content.
Pl note
Array formula should be confirmed with Ctrl+Shift+Enter keys together.
If answere is satisfactory press * to add reputation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks