Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Excel Dummy
 
Posts: n/a
Default Designer dummy in Excel - Need (nested?) If statement...

I'm trying to create a spread sheet and don't know this program AT ALL! Here
is what I need it to do..


So, here are the equations...

If C6D6 then (C6-D6)*5 ---and put answer in cell X6
If C6<D6 then (D6-C6)*10 ---and put answer in cell X6
But, if cell D6 is yellow --- Put 20 in cell X6

So, I need some sort of identifier in the equation saying whether the cell
is yellow or not. I'm sure excel doesn't recognize "yellow" but there must be
another way. I can put a letter with a number in that cell if necessary.

I'm not sure this is making sence, but if anyone out there can help, I'd
truely appreciate it. Thanks! Michelle


  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete
 
Posts: n/a
Default Designer dummy in Excel - Need (nested?) If statement...

Assuming you can put Y for "yellow" in cell D6, type the following
formula in cell X6:

=IF(D6="Y",20,IF(C6D6,(C6-D6)*5,IF(C6<D6,(D6-C6)*10,"Equal")))

You do not specify what you want to happen when C6 = D6, so this
formula returns "Equal", but you can change this to what you want.

Pete

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
Return Excel IF statement to a different worksheet? addme99 Excel Discussion (Misc queries) 1 December 15th 05 04:09 PM
Can I import my business banking statement online into excel? one crying in the wilderness New Users to Excel 1 October 1st 05 06:00 PM
how fill adatabasein domino designer with information of excel zoy Excel Worksheet Functions 0 May 6th 05 09:29 PM
SQL Statement and Excel DavidM Charts and Charting in Excel 3 January 7th 05 12:53 PM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM


All times are GMT +1. The time now is 07:13 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"