Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Nested 'IF' in Excel 2003


  • Please log in to reply

#1
Gumby©

Gumby©

    Member

  • Member
  • PipPip
  • 28 posts

I'm trying to have a cell display a value based on the value in another cell using the following criteria:

IF B2 = a certain number then F2 = a number based on the criteria in the following formula, unfortunately I can't seen to get the formula to work and can't find the error I'm making. Any help would be greatly appreciated. Thanks in advance.

 

=IF (B2>1.6,-2,"NOT", IF (B2>1.3, B2<1.6),-1,"NOT", IF (B2>1.2, B2 < 1.6), 0,"NOT", IF (B2 >0.9, B2<1.19), 1,"NOT", IF B2< 0.9, 2,"NOT")


  • 0

Advertisements


#2
zep516

zep516

    Trusted Helper

  • Malware Removal
  • 7,867 posts

Hello Gumby,

 

Any help or ideas linked below.

 

IF function – nested formulas and avoiding pitfalls (microsoft.com)


  • 0

#3
Gumby©

Gumby©

    Member

  • Topic Starter
  • Member
  • PipPip
  • 28 posts

OK, each of the following lines work independantly:

=IF(B2>1.6,-2

=IF (B2<1.6,-1)

=IF(B2>1.2,B2<1.29,0)

But this doesn't work when they're combined

=IF(B2>1.6,-2 IF (B2<1.6,-1), IF(B2>1.2,B2<1.29,0))

 

What am I doing wrong? I've read the page you directed me to and it's very similar to the pages I've already read but I'm not seeing my error.


  • 0

#4
zep516

zep516

    Trusted Helper

  • Malware Removal
  • 7,867 posts

Sorry I don't see the error either, that's why I directed you to that page. Is there any help online with excel that you know of ? What if you google "combine IF statements in excel or something?

 

Best I can offer for now.


  • 0

#5
Gumby©

Gumby©

    Member

  • Topic Starter
  • Member
  • PipPip
  • 28 posts

Thanks again. I already googled IF statements and got a lot of hits. That's how I got this far. I just can't seem to get the multiple statements to work together, well, more than 2 at a time. I've seriously spend the whole day with this topic reading and re-working the formulae to no avail. I really wanted to automate this process rather than do 80 entries manually.


  • 0

#6
zep516

zep516

    Trusted Helper

  • Malware Removal
  • 7,867 posts

Your way ahead of me I have never used excel.  I couldn't help it and googled around, but getting late.  Did you see this page?  I wonder if there is any support on that page. I did not look around.

 

How to Use Multiple IF Statements in Microsoft Excel (techwalla.com)


  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP