Adding then next letter to a column letter list

jdhfch

Board Regular
Joined
Jan 25, 2018
Messages
79
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am trying to create a forecasting spreadsheet which looks at previous years data to build a forecast for the month/year.

I am trying to make the lookup cells dynamic according to the date.

For example, May runs from columns DT:EX and Jun runs from EY:GB. So in May, I want the lookups to be from DT:EX on day 1, DU:EX on day 2 etc. In Jun it will run from EY:GB etc

I have found a way to extract the start/end refernces and make it dynamic by using CHAR(CODE(R12)+B3) but this also return other characheters (/}) etc. Is there any way to limit this to only include letters.. eg when it gets to Z, it restarts at A?

Please be gentle... relative newbie!

Rgds

Jason
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Jason

How/where are you using CHAR(CODE(R12)+B3)?

Do you actually need to get the column letters?

Perhaps you could use some other function(s) to get the range(s) you need for your lookup(s)/whatever?

For example if you had the day number in DR2 this formula would return a partial sum of DT1:EX1 based on the day.

=SUM(INDEX(DT1:EX1,,DR2):EX1)

e.g. if you had 3 in DR2 it would SUM DV1:EX1.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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