Formula to state the previous 12 months in text, based on changing contend in a cell

Anandpersad

New Member
Joined
Oct 18, 2014
Messages
31
Hi All,
I need help with the following issue:
I have a database (Sheet name is Data) in which data is updated monthly.

Based on this data base I have put the following formula in an additional sheet (sheet 2). In cell O8, I have the following formula: =LOOKUP(2;1/(Data!K:K<>"");Data!K:K)
This will go in sheet "data", go to the last row which is not empty, and give the month name as mentioned there in column K).
What I am looking now, is a formula which will give the names of the previous 12 months in "mmm"
So cell N8, wil give December, cell M8 will give November,.......... and cell C8 will give January.

If the name of the month in cell O8 changes to e.g. Februari, the month names in the cell (c8...N8) has to change accordingly.

Thanks for your help

Anand
 
The formula I posted is actually Fluff's formula with a small tweak. I haven't been following this thread... I simply commented on what I saw that he posted. You might want to attach a picture that is readable though as I cannot make out anything on what you posted. Better would be to upload an actual copy of the workbook to, say, DropBox so we can see your actual data and how the formula interacts with it.
Formula to state the previous 12 months in text, based on changing contend in a cell
 
Upvote 0

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
You probably didn't mark the file for sharing then pasting the link it provides as I get...

1583780416921.png
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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