Difficult function question for columns

A

AAA1986

I would like the create a column that performs the following function:

[If column A=1, then display number in cell B10; If Column A=2, then display
number in cell B11, If column A=3; then display number in cell B12]

If it is of any importance, in the above example B10:12 have a
=SUMIF/COUNTIF function in them.

Thanks in advance.
 
G

Glenn

AAA1986 said:
I would like the create a column that performs the following function:

[If column A=1, then display number in cell B10; If Column A=2, then display
number in cell B11, If column A=3; then display number in cell B12]

If it is of any importance, in the above example B10:12 have a
=SUMIF/COUNTIF function in them.

Thanks in advance.


=INDEX(B10:B12,A1)

=OFFSET(B10,A1-1,0,1,1)

=INDIRECT("B"&A1+9)
 
A

AAA1986

Perfect! Thank you.

David Biddulph said:
=IF(A1=1,B$10,IF(A1=2,B$11,IF(A1=3,B$12,"whatever you want if it isn't any
of those")))
--
David Biddulph

AAA1986 said:
I would like the create a column that performs the following function:

[If column A=1, then display number in cell B10; If Column A=2, then
display
number in cell B11, If column A=3; then display number in cell B12]

If it is of any importance, in the above example B10:12 have a
=SUMIF/COUNTIF function in them.

Thanks in advance.


.
 

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

Top