Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Compare data in three fields

I need to look at the data in three fields, determine which is the highest of
the three and then have the highest of the three fields add up in a fourth
field. I'll try to type in an example; if a1 is greater than a2 and greater
than a3 then a1 needs to be posted into a4, but if a2 is greatest than a2
needs to be posted in a5 and if a3 is greatest it needs to be posted in a6.
Hope I didn't confuse you too much! Thanks. Todd.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Compare data in three fields

With
A1:A3 containing numbers

Try something like this:
A4: =IF(A1=MAX($A$1:$A$3),A1,"")
Copy that formula down through A6

Note: with that formula, if there are ties for largest value, the value will
display in each appropriate cell within A4:A6

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"tssgraham" wrote:

I need to look at the data in three fields, determine which is the highest of
the three and then have the highest of the three fields add up in a fourth
field. I'll try to type in an example; if a1 is greater than a2 and greater
than a3 then a1 needs to be posted into a4, but if a2 is greatest than a2
needs to be posted in a5 and if a3 is greatest it needs to be posted in a6.
Hope I didn't confuse you too much! Thanks. Todd.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Compare data in three fields

In A4, =IF(A1=MAX(A$1:A$3),A1,"") and copy down to A5 and A6. I'm assuming
that you want the cell blank if the condition isn't satisfied. You haven't
said what you want if there is a tie for top spot.
--
David Biddulph

"tssgraham" wrote in message
...
I need to look at the data in three fields, determine which is the highest
of
the three and then have the highest of the three fields add up in a fourth
field. I'll try to type in an example; if a1 is greater than a2 and
greater
than a3 then a1 needs to be posted into a4, but if a2 is greatest than a2
needs to be posted in a5 and if a3 is greatest it needs to be posted in
a6.
Hope I didn't confuse you too much! Thanks. Todd.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Compare data in three fields

AWESOME! Thank you! Now . . . how do I use this to be able to add multiple
"IF" formula's? I'll try to explain. I have data in three columns that need
to be compared just as your formula allows, but then I also need to compare
data in multiple sets of three colums and have the max in each add to the
first formula? Have I confused you yet? Thanks again. Todd.


"Ron Coderre" wrote:

With
A1:A3 containing numbers

Try something like this:
A4: =IF(A1=MAX($A$1:$A$3),A1,"")
Copy that formula down through A6

Note: with that formula, if there are ties for largest value, the value will
display in each appropriate cell within A4:A6

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"tssgraham" wrote:

I need to look at the data in three fields, determine which is the highest of
the three and then have the highest of the three fields add up in a fourth
field. I'll try to type in an example; if a1 is greater than a2 and greater
than a3 then a1 needs to be posted into a4, but if a2 is greatest than a2
needs to be posted in a5 and if a3 is greatest it needs to be posted in a6.
Hope I didn't confuse you too much! Thanks. Todd.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Compare data in three fields

AWESOME! Thank you! Now . . . how do I use this to be able to add multiple
"IF" formula's? I'll try to explain. I have data in three columns that need
to be compared just as your formula allows, but then I also need to compare
data in multiple sets of three colums and have the max in each add to the
first formula? Have I confused you yet? Thanks again. Todd.


"David Biddulph" wrote:

In A4, =IF(A1=MAX(A$1:A$3),A1,"") and copy down to A5 and A6. I'm assuming
that you want the cell blank if the condition isn't satisfied. You haven't
said what you want if there is a tie for top spot.
--
David Biddulph

"tssgraham" wrote in message
...
I need to look at the data in three fields, determine which is the highest
of
the three and then have the highest of the three fields add up in a fourth
field. I'll try to type in an example; if a1 is greater than a2 and
greater
than a3 then a1 needs to be posted into a4, but if a2 is greatest than a2
needs to be posted in a5 and if a3 is greatest it needs to be posted in
a6.
Hope I didn't confuse you too much! Thanks. Todd.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Compare data in three fields

Yes, you've confused me.
--
David Biddulph

"tssgraham" wrote in message
...
AWESOME! Thank you! Now . . . how do I use this to be able to add multiple
"IF" formula's? I'll try to explain. I have data in three columns that
need
to be compared just as your formula allows, but then I also need to
compare
data in multiple sets of three colums and have the max in each add to the
first formula? Have I confused you yet? Thanks again. Todd.


"David Biddulph" wrote:

In A4, =IF(A1=MAX(A$1:A$3),A1,"") and copy down to A5 and A6. I'm
assuming
that you want the cell blank if the condition isn't satisfied. You
haven't
said what you want if there is a tie for top spot.
--
David Biddulph

"tssgraham" wrote in message
...
I need to look at the data in three fields, determine which is the
highest
of
the three and then have the highest of the three fields add up in a
fourth
field. I'll try to type in an example; if a1 is greater than a2 and
greater
than a3 then a1 needs to be posted into a4, but if a2 is greatest than
a2
needs to be posted in a5 and if a3 is greatest it needs to be posted in
a6.
Hope I didn't confuse you too much! Thanks. Todd.






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
Pivot Table - Compare 2 fields? Erin Excel Discussion (Misc queries) 0 June 1st 06 08:28 PM
how to compare a list of data that is same as the main data sheet Nxam New Users to Excel 1 February 2nd 06 04:17 PM
how to compare text fields in 2 different columns in excel ljt1 Excel Worksheet Functions 2 January 31st 06 11:22 PM
How do i compare data fields and assign values? BmxMom101 Excel Worksheet Functions 0 November 10th 05 03:43 PM
compare info in 4 worksheets and highlight fields that are the sam Ellen Excel Worksheet Functions 3 October 25th 05 10:16 PM


All times are GMT +1. The time now is 09:42 AM.

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"