Adding then next letter to a column letter list

jdhfch

Board Regular
Joined
Jan 25, 2018
Messages
75
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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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