Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ring eye
 
Posts: n/a
Default How do I set up multiple logical conditions on one result cell

How do I write the following condition in one cell (AA)?
cell 'C' - year bought
cell 'J' - bought commission
cell 'Q' - year sold
cell 'U' - sold commission
Cell 'AA' 2005 commission

if c4=2005,q4=2005 sum(j4,u4) if c4<2005,q4=2005 sum(0,u4)
if c4=2005,q4not=2005 sum(j4,0)

What is a good book that explain each function and gives good examples, I
can buy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default How do I set up multiple logical conditions on one result cell

This should do it entered into AA4:

=IF(AND(C4<2005,Q4=2005),U4,IF(AND(C4=2005,Q4=2005 ),J4+U4,IF(AND(C4=2005,Q4<2005),J4,"None
of these")))

If the combinations of C4 and Q4 are not any that you state, then you
will get the text "None of these" - you might want to set this to zero
or some other value.

Hope this helps.

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
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
copied formula has correct cell reference, but result of original lvito Excel Worksheet Functions 1 October 14th 05 04:37 PM
Multiple Conditions in a cell Maya Excel Worksheet Functions 3 June 10th 05 11:51 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
convert value in word. For Exampe Rs.115.00 convert into word as . Shakti Excel Discussion (Misc queries) 1 May 10th 05 12:00 PM


All times are GMT +1. The time now is 10:54 AM.

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

About Us

"It's about Microsoft Excel"