If Statement

D

Dave

Look at the following formula and tell me what is wrong with it. I am trying
to have a cell count "1" if a certain group of sponsors appear in the cell I
have several sponsors in the same list. What I want to happen is when a
certain sponsor is chosen I want it to count as 1 in another box. I have one
group say in cells E2:E5 and another group in E6:E10.
=IF(F4:F9=Lists!E13:E22, "1", IF(F4:F9=Lists!E2:E12, "0",
IF(F4:F9=Lists!E23:E30, "0")))
This is the formula I came up with for one cell in my Totals area.
 
T

T. Valko

It's not real clear what you're trying to do...

Let's see if we can figure it out.
when a certain sponsor is chosen I want it to count as 1

Ok, how is a sponsor chosen? A "certain sponsor" implies a *single* sponsor.

If sponsor A is chosen, then you want to see if sponsor A is in the range
Lists!E13:E22 and if it is return 1?

What do these other ranges have to do with it?

IF(F4:F9=Lists!E2:E12, "0",
IF(F4:F9=Lists!E23:E30, "0"
 

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

Formula 6
Using <= in countifs statement 1
Payment calculation 1
IF Statement on multiple levels 6
Tricky Formula 2
Need formula to count spinoffs 1
Tricky Formulas 14
CountIf Formula 1

Top