Formula with cell column from cell text

  • Thread starter Thread starter mjones
  • Start date Start date
M

mjones

Hi,

I need to put a column letter in a cell (i.e. n), and then have the
formula refer to it as part of a cell reference.

More specifically, on the end of this formula, you will see n38 -
=IF($L38=OFFSET(AV38,-1,0),IF($C38=0," Amount?",$C38*N38),0)

So n in n38 needs to be a variable, where it picks up n from another
cell. Then I can do mass copying instead of copying and editing
hundreds of cells.

Much appreciated!

Michele
 
You could change the N38 to INDEX($A$1&ROW(A38)) if "N" is in A1, then
this will become effectively N38, N39, N40 etc when it is copied down
- is this what you want:

Pete
 
You could change the N38 to INDEX($A$1&ROW(A38)) if "N" is in A1, then
this will become effectively N38, N39, N40 etc when it is copied down
- is this what you want:

Pete

Hi Pete,

This is the idea, except I get an error that there are too few
arguments. Here is what I have, where n is in AS37.

=IF($L38=OFFSET(AV38,-1,0),IF($C38=0," Amount?",$C38*INDEX($AS
$37&ROW(A38))),0)

Thanks!

Michele
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

PLEASE HELP 1
Adding numbers and text 6
Function 6
2 Columns total division 4
formula error 1
SUMIF Formula not working 1
Help with Cell Formula 3
Help with Cell Formula 4

Back
Top