Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default NESTED IF STATEMENTS

Having a little problem in an excel class, hoping someone might be
able to help. I'm trying to fill in the discount column on a
spreadsheet with the following info. The problem states use a nested
form of the IF function to calculate 15% if Amount is greater that
$300., 10% if Amount is greater than $100., and 0% if Amount is less
than $100. The Amount column is cell D5. Anyone know how to write the
formula and explain how to go about it? Any help would be much
appreciated.
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default NESTED IF STATEMENTS

=IF(D5300,D5*0.15,IF(D5<100.01,D5,D5*0.1))

Not a nested IF formula but will do the job.

=LOOKUP(D5,{0,100.01,300.01},{0,0.1,0.15})*D5

Present it to your instructor and get extra points for creativity.


Gord Dibben MS Excel MVP

On Sat, 19 Jul 2008 14:31:07 -0700 (PDT), wrote:

Having a little problem in an excel class, hoping someone might be
able to help. I'm trying to fill in the discount column on a
spreadsheet with the following info. The problem states use a nested
form of the IF function to calculate 15% if Amount is greater that
$300., 10% if Amount is greater than $100., and 0% if Amount is less
than $100. The Amount column is cell D5. Anyone know how to write the
formula and explain how to go about it? Any help would be much
appreciated.


  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default NESTED IF STATEMENTS

I am positive that would happen Don<g

Apologies for posting over your reply..........didn't see before replying.

Sometimes I take it too easy on the ones with class assignments.

Teach a man to fish might be a better solution as you point out.


Gord

On Sat, 19 Jul 2008 18:24:28 -0500, "Don Guillett"
wrote:

And be very sure to tell em that Gord gave it to you.




  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default NESTED IF STATEMENTS

On Jul 19, 4:40*pm, Gord Dibben <gorddibbATshawDOTca wrote:
I am positive that would happen Don<g

Apologies for posting over your reply..........didn't see before replying..

Sometimes I take it too easy on the ones with class assignments.

Teach a man to fish might be a better solution as you point out.

Gord

On Sat, 19 Jul 2008 18:24:28 -0500, "Don Guillett"
wrote:



And be very sure to tell em that Gord gave it to you.- Hide quoted text -


- Show quoted text -


I'm not looking to get an "A". I was just looking for some help on
learning how to figure it out and I did email the teacher and let him
know I was looking for help on the internet. But I did finally figure
out an IF statement on my own. Gord, thanks for trying to help. Don,
I'm not a cheater, I was just stuck and looking for help. And yes I
did look on the insert function for help but I was still confused.
After emailing the teacher twice without a reply I went to the
internet for help, and your comments are making wish I hadn't.
  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,124
Default NESTED IF STATEMENTS

I didn't mean to infer you were a cheater. You said that. I did refer you to
the help index for IF because it is much more meaningful, as Gord said, that
you learn how to fish instead of being tossed fish. It does give a good
example of a nested if.

Formula Description (Result)
=IF(A289,"A",IF(A279,"B", IF(A269,"C",IF(A259,"D","F")))) Assigns
a letter grade to the first score (F)
=IF(A389,"A",IF(A379,"B", IF(A369,"C",IF(A359,"D","F")))) Assigns
a letter grade to the second score (A)
=IF(A489,"A",IF(A479,"B", IF(A469,"C",IF(A459,"D","F")))) Assigns
a letter grade to the third score (C)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

wrote in message
...
On Jul 19, 4:40 pm, Gord Dibben <gorddibbATshawDOTca wrote:
I am positive that would happen Don<g

Apologies for posting over your reply..........didn't see before replying.

Sometimes I take it too easy on the ones with class assignments.

Teach a man to fish might be a better solution as you point out.

Gord

On Sat, 19 Jul 2008 18:24:28 -0500, "Don Guillett"

wrote:



And be very sure to tell em that Gord gave it to you.- Hide quoted text -


- Show quoted text -


I'm not looking to get an "A". I was just looking for some help on
learning how to figure it out and I did email the teacher and let him
know I was looking for help on the internet. But I did finally figure
out an IF statement on my own. Gord, thanks for trying to help. Don,
I'm not a cheater, I was just stuck and looking for help. And yes I
did look on the insert function for help but I was still confused.
After emailing the teacher twice without a reply I went to the
internet for help, and your comments are making wish I hadn't.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Too Many Nested IF Statements! Tiziano Excel Worksheet Functions 5 October 3rd 07 02:29 AM
Nested If statements [email protected] Excel Worksheet Functions 3 September 21st 06 10:13 PM
Nested if statements - is there a better way? masterbaker Excel Worksheet Functions 3 July 25th 06 04:59 PM
I want to use more than 7 nested if then statements IF I only had a brain for IF statements Excel Worksheet Functions 11 August 9th 05 01:28 AM
Do I need nested IF statements? Jaramya Excel Worksheet Functions 1 November 5th 04 09:10 PM


All times are GMT +1. The time now is 06:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"