LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 152
Default Multiple Conditonal Comparison

Hi,

I am wondering what the best way to do a multiple conditional comparison is?

For example I have 3 columns of data where I need the first column compared,
then if TRUE, compare data in the second column which if also TRUE, then flag
the result.

P/N Class Qty
12345 A 3
12345 B 5
12345 C 2
54321 A 4
54321 C 1

So in the above data example, I need to essentially compare the class codes
within the same part number and if the quantity of class "A" is less than "B"
OR "C" (in situations where only one these class codes exist) then place a
flag in "A's" row. However in situations where both class "B" AND "C" exist
for the same part number, I need to flag "A" if it's quantity is less than
the COMBINED quantity of "B" AND "C".

Any help would be appreciated. I'm getting a headache trying to figure out
the forumla.

Thanks.

Ella
 
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
multiple column comparison on 2 worksheets [email protected] Excel Worksheet Functions 1 November 10th 06 09:39 AM
Multiple Conditonal Formats Dave Excel Discussion (Misc queries) 4 November 2nd 06 11:47 PM
multiple comparison between means Siddhartha New Users to Excel 1 October 3rd 06 06:24 PM
multiple comparison between means Siddhartha New Users to Excel 1 October 3rd 06 09:22 AM
multiple comparison between means Siddhartha New Users to Excel 0 October 3rd 06 06:34 AM


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