Nested "IF" problem

A

Alby

Help!
I have 4 columns that have 12 rows of data. the 12th row
is the sum of each column.

1 2 3 4
sum 234 367 666 1098

What I'm trying to achieve is:
If a certain cell contains a 1 then another cell =234
If it contains a 2 then the other = 234+367 = 601
If it contains a 3 then the other = 234+367+666 = 1267

The sum in each column is also variable.

Thanks in advance
 
D

Don Guillett

something like this?
What I'm trying to achieve is:
If a certain cell contains a 1 then another cell =234
If it contains a 2 then the other = 234+367 = 601
If it contains a 3 then the other = 234+367+666 = 1267

=choose(yourcell,a1,a1+b1,a1+b1+c1)
 

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