Column Letters plus 2 more columns?

gmooney

Active Member
Joined
Oct 21, 2004
Messages
252
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a list of column letters that need to have 2 more columns added to the current column letters. It isn't as simple as going 2 columns away and grabbing that from my list because the column letters are in random order.

The letter G below is in my cell CJ10, HB in CJ11, etc....

I want to create a formula in cell CT10 and copied down replacing the columns letters listed below. The G would become I, the HB would become HD, the HI would become HK, etc......



G
HB
HI
HJ
JN
KI
KP
KB
IS
JG
JU
IZ
HK
JO
KJ
KQ
KC
IT
JH
JV
JA
HL
JP
KK
KR
KD
IU
JI
JW

<colgroup><col></colgroup><tbody>
</tbody>


Any help out there?

Thanks
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Put the fórmula:

=SUBSTITUTE(ADDRESS(1,COLUMN(INDIRECT(CJ10&1))+2,4),"1","")
 
Upvote 0
OR a VBA solution

Code:
Sub MM1()
Dim TCL As Integer, TCR As Variant, r As Long
    For r = 10 To 38
        TCL = Range(Range("CJ" & r).Value & 1).Column + 2
        TCR = Split(Cells(1, TCL).Address, "$")(1)
        Range("CT" & r).Value = TCR
    Next r
End Sub
 
Upvote 0
Which method did you end up using ???
 
Upvote 0

Forum statistics

Threads
1,215,482
Messages
6,125,061
Members
449,206
Latest member
Healthydogs

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