Change Column Reference To Letters

Aug 1, 2007

I have several Excel workbooks that suddenly has converted to numbers for both columns and rows. Sheets that were saved and correct yesterday, upon opening today, are now numbered rather than number and letter. Any of my formulas now reference a RNumber and a number when citing location.

Remove Letters From A Column Containing Both Numbers And Letters

Jul 24, 2012

I have a column of cells, some blank, some containing just numbers, some containing just letters, some containing numbers preceded by the the letter 'p'

E.g.

frt
34.2
36

p34.5

In the cells containing the number preceded by the 'p' - i would like to remove the 'p' leaving just the number, with all other cells remaining unchanged.

Change Column And Cell Reference Name?

Apr 25, 2014

I have a massive excel sheet with 300,000 rows and 100+ columns. When reading back through my formulas, it can get very confusing. Example: "=(AZ9*5 + 1)+BH9/2 +(AP9*0.75)" I then have to figure out what each column letter is representing. Instead of this, could I rename a column so I can reference the variable name? Example:

Instead of =CONCATENATE(A4, " ", B4)

have

=CONCATENATE(FirstName4, " ", LastName4)

Change Reference Cell From Column To Row

Jul 25, 2008

I am using this formula

=IF(\$A5="Select","",MAX(INDIRECT(SUBSTITUTE(\$A5,"/","")&"m1440"&"!d:d")))

It looks for the sheet based on A5
It finds the max number from the sheet in Column D

This is what i would like to do please....

On this found sheet - Column A has dates in this format yyyy.mm.dd

I would like to enter a date in a cell (say for example AA5 on main sheet)

Can the formula above be adapted to:

Look for sheet based on A5
then
Look at date entered in AA5
then
use Vllookup to find row containing date in AA5 (making table range the ENTIRE SHEET found based on A5)
then
Return value from Column D

Automatically Change Formula Column Reference

Feb 7, 2008

In Sheet1,

C14 = Sheet2!D2
C15 = Sheet2!D3
C16 = Sheet2!D5

What i want to do is to change "D" to "E". Next time i run it, it will change from "E" to "G".

I want a macro to do it, so that I don't have to change it manually one by one. For some reason, when i try to use .formulaR1C1, the reference change, and I couldn't get it to work.

Column Formula That Won't Change When Move Reference Cells

May 22, 2014

I'm dealing with forecasting invoices. The main column 'BALANCE' has a formula referencing the previous cell and then adding or subtracting invoices (ENTRY). The problem I have is that I'll put values in ENTRY that I expect to come in at some point but as they arrive I need to change the order of the cells. So I'm constantly changing the order and then it changes the formula in BALANCE. I tried absolute cells (and even found a work around way to flow absolute cells by flowing then viewing formulas then using the replace function but that didn't work.

So my formula in BALANCE is:
=\$I\$173+\$E\$174-\$G\$174

but if I move G174 to another cell I'd like to keep the BALANCE formula to stay G174 instead of following the move.

Easily Change Column Reference In Formula Argument

Jun 17, 2009

i have the table of holiday days with 7 columns(7 countries).Each column consists of 10(or more rows (holiday days).

I have a formula for calculating start day for a deposit which has to be renewed.
formula is =workdays(end date of deposit,-2,A1:A10).
-2 in formula is because all the trades in the market are traded Today+2days.
A1:A10 is column of holiday days.
This formula calculates the start of deposit excluding weekends,holiday days.

BUT I have more then 7 countries and I would like to have a macro so when in cell F10 I type SWEDEN,my formula automatically use the column with holiday days B1:B10 for sweden.
When I type Finland, the formula uses column C1:C10 with holiday days from Finland respectively.

Column Letters- VBA Command To Get The Letters

Nov 17, 2009

Is there a VBA command to get the letters, instead of the numbers, of the column of a selected cell?

I have to letter a list whihc means setting up a loop using character codes.

I may have to go into double letters so I am working on how I would set up the loop for if and when it gets past 90 and starts on double letters. so far the highest is the letter "U"

of course the easiest would be to pick up a column value as a letter

NT values do not get a number

A_____ _____NT###
B_____1_______C####
C_____2_______RMK###
D____ _______NT####

i am guessing the loop might involve some arithmetic test between the count and the character set 65-90. or maybe a mod thing.

Paste Formula Across Rows But Change Relative Cell Reference To Column From Row

May 26, 2009

I'm working on setting up a chart. The formula I'm using for cell B21 is this: =ROUND(F3,0) & " " & IF(E3<F3 ...

Excel 2007 :: How To Change Autofill Options Or When Moving Right In Row Reference Down A Column

Apr 15, 2014

I'm working on a decision matrix to evaluate different alternative production methods. Before that criteria have to be choosen and weighted against each other. The user would fill out the yellow/ blue cells with (0=less important; 1=equally; 2=more). Then values are added up and put into some kind of ranking.

The example was done by hand, which costs a lot of concentration. I would now like to extend the matrix - do you know how to fill out the grey cells more efficiently?

(Excel 2007, Win7)

Find Letters In A Reference Number

May 6, 2009

I need to find a formula that will find letters in a referance, for example i have referances like - MNE DJM & ZZPAR i need to find a formula that will find me the ZZPAR looking for "ZZ" i then want this to tell me what tpYe of referance number it is and put this into column Z.

Normal referance number like DJM and MNE i want this to show as "BROMLEY"

aND ZZPAR as "Chester"

I have tried something like the following but this is not working

Change Letters Within String

Apr 10, 2014

I am looking for a while for a macro or a function, which should change needed letters in string into needed ones.

Example:
A1 cell contains words "John Johnson Martinson". I want to switch "n" letter into my specified, lets say "m" and the result should be "Johm Johmson Martimsom".

I would like to get it within range of columnA. Is it possible to get?

Return Column Letters From Column Number

Jun 1, 2008

I know the column number (57) and want the formula to return the column name (BE) Auto Merged Post Until 24 Hrs Passes;not using vba that is! or if so , a custom function so macros dont have to be run.

Stop Formula Column Reference Changing On Insert But Not Row Reference

Mar 6, 2008

A 'Days Attended' cell (N8) and a 'Days Absent' cell (O8). N8 needs to count the number of "Present" values there are on another worksheet. The other worksheet has dates across the top and names down the side.

When i use
=COUNTIF("Attendance!C9:Z9", "Present"),
and the next date comes along the formula changes to
=COUNTIF("Attendance!D9:AA9", "Present")

ie. the reference moves a column across - the new date's absent or present is not counted. Using =COUNTIF(INDIRECT("Attendance!C9:Z9"), "Present"). is no good because when i add a new name i need the row reference to move down as a row is inserted. ie. both person's formulas count the same row. So, my question: I need the columns to stay the same - C:Z (leyway for future dates) and the rows to change as i insert or delete people from the system.

Nov 21, 2011

I have a column of domains.

I need to add "http://" to the beginning of these domains. How can I do this?

EX. I have column A with about 27 cells of domains "website.com". I want to add the "http://" to the front of them.

Column Letters

Feb 28, 2007

Using =column() in cell A1 returns "1" as column A is column 1 with b being 2 etc.

How can I get it to return "A".

Column Letters In A Listbox

Jun 16, 2009

I have a listbox on a userform and I'd like to easily populate it with all the column letters (< Excel 2007) A thru IV.

I assume my code will look something like this:

for iter = 1 to 256
next iter

what my "X" should be?

Collect All Used Symbols/letters From A Column

Jun 9, 2009

I have two worksheets: "1" and "2" Now i want to filter all symbols used in Column A sheet "1" and list them in Column A of sheet "2". The results should contain no duplicates. For example:..........

Set Variable As Range Of Column Letters?

Jun 12, 2013

You can have code: For i = 1 to 20, and you then use "i" in the code to represent a number between 1 and 20 as you all know.

I'm wondering can you do something like: For i = A to D, so then "i" in the code would be either A, B, C or D?

Converting Column Numbers To Letters

Jun 24, 2014

how to create some code that can convert any column number to it's respective letter, from 1 = "A" to 16384 = "XFD". The code is posted below. Enjoy, or let me know how you would improve it.

Code:
Function colNumToChar(colNum) As String
Dim Num1, Num2, Num3 As Integer
Dim Let1, Let2, Let3 As String

[Code]....

Aug 16, 2006

All my columns headings are now numbers instead of letters. how do i change them back to letters

Column Letters As Numbers Macro

Jan 9, 2007

I have a excell spreadsheet that consolidate information from several other excel spreadsheets generated daily. To make this consolidation I have to open each daily excell file and copy some columns(always same ones) to my consolidate spreadsheet, but each daily information goes into a different column in the consolidated file.
So, I need a way to convert the columns names into numbers to be able to use loops on the VBA code where I can specify in each column the paste has to be done.
Anyone has the VBA code that can make this column name conversion into numbers?

Use Column Numbers Instead Of Letters In A Range

Feb 2, 2007

I want to be able to use column numbers instaed of letters when selecting a range in VBA. My current code is: Range("G12:Z500").Select. The columns, however are reliant upon a variable, therefore I would like to be able to use that variable to change the columns when selecting this range.

Change Formula Cell Reference Based On Another Cell Reference

Jan 8, 2012

How do I change a formula cell reference based on another cell's reference? I'm building a schedule that looks to a task's trigger and adds days based on that relationship. All entries in column "A" will be text and all cells in "B" will be the simple formula "=A2" or "=A3". Due date is calculated by adding the value in "C" to the preceding date in column "D". In the spreadsheet below, the trigger for "Budget set" is "Specs written" with 3 days added to the previous due date.

________A________________B_____________C_________D
2 Design begins__Proj OK______________10____10-Jan
3 Specs written__Design begins (A2)____5____15-Jan (D2+C3)
4 Budget set_____Specs written (A3)____3____18-Jan (D3+C4)

If the trigger for A4, "Budget set", changed from A3 to A2, is there a way that the formula that determines the due date in D4 could read the trigger cell reference in B4 so that the value in the corresponding row in column "C" is added in the date column?

Removing Two Letters From A String Of Letters And Numbers

Jul 29, 2014

i have a list of 2000 fields which have the same format IE "AB10014"

I need to remove the "AB" from every field and leave the #.

Besides putting a space and running text to columns I'm not sure how.

Macro For Creating Letters To UPPER Letters

Dec 7, 2009

I have words in cell range (i.e. A1:A1000) and I want them to became upper letters.

Excel forum to EXCEL FORUM

Repetitive Pattern With Column Letters And Numbers

Jul 30, 2014

how can I modify the formula below so that after every row (i+60) the letter D changes to E then F, then G..... and so on. I want the following with the formula below:

=MAX(\$D\$2:\$D\$61)
=MAX(\$E\$62:\$E\$121)
=MAX(\$F\$122:\$F\$181)

and so on...

[Code] .....

How To Sort A Column Depending On Number Of Letters

Apr 15, 2008

i want to sort a column in such a way that it starts with those cells having the highest number of letter. For example:

before:

AA
AAA
A
AAAAAA
AAAA
AAAAAAAAAAA

I want it to look like:

AAAAAAAAAAA
AAAAAA
AAAA
AAA
AA
A

Ofcourse the real list doesnt contain only "A"s. It contains of words and sentences.

How can i sort columns A as mentioned? The order of column A with other columns should not be destroyed be the sorting process.

To Sort A Column With Mixed Letters And Numbers

Aug 12, 2007

I am attempting to sort a column with mixed letters and numbers. However, I have been totally unable to get them to sort the way I want them.

What I have is:

K600
K2
K2A
K2B
K159
K159A
K159B
K1
K1A
K1B
K428
K8
K8A
K8B

etc, etc. The prefix letter is only a K - no other letters. However, the suffix letters can be anything from A to E (at the present time)

I need to sort them numberically from K1 in descending order ie:

K1
K1A
K1B
K2
K3
K4
K4A
K4B
etc etc etc

Turn Column Letters To Numbers And Vice Versa?

Jun 16, 2014

How do i turn column letters to numbers and vice versa

take y values from column and take x values from row

I have 'resolved' values in column A1:A10
I have 'received' values in row B11:K11

I need to fill out a table using the tables axis values stored in the column and row above.