Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default =IF(A1=MAX($A$1:$A$3),A1,"") Adapt to use multiple "if" formula's

How can I adapt this formula to allow adding multiple "if" formula's? Example:
=IF(A1=MAX($A$1:$A$3),A1,"") PLUS =IF(B1=MAX($B$1:$B$3),B1,"") PLUS
=IF(C1=MAX($C$1:$C$3),C1,"") ? Thanks everyone - today was the first time
I've ever posted for help - you rock! ;-)



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default =IF(A1=MAX($A$1:$A$3),A1,"") Adapt to use multiple "if" formula's

Hi,

What do you mean? the result of all tese IF's shoud come to one cell? but it
dosn't make sense, what if all these IF's return TRUE or 2 of then would be
TRUE and one of them FALSE? please explain.

Thanks,

--
Farhad Hodjat


"tssgraham" wrote:

How can I adapt this formula to allow adding multiple "if" formula's? Example:
=IF(A1=MAX($A$1:$A$3),A1,"") PLUS =IF(B1=MAX($B$1:$B$3),B1,"") PLUS
=IF(C1=MAX($C$1:$C$3),C1,"") ? Thanks everyone - today was the first time
I've ever posted for help - you rock! ;-)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default =IF(A1=MAX($A$1:$A$3),A1,"") Adapt to use multiple "if" formul

I'll try to explain. The cells I'm dealing with all contain currency amounts.
I have three columns of totals that I need to be able to examine line by line
to determine which of the three is the greatest amount and then have the
greatest of the three total up in one of three other fields. Sorry to be so
confusing. Todd.

"Farhad" wrote:

Hi,

What do you mean? the result of all tese IF's shoud come to one cell? but it
dosn't make sense, what if all these IF's return TRUE or 2 of then would be
TRUE and one of them FALSE? please explain.

Thanks,

--
Farhad Hodjat


"tssgraham" wrote:

How can I adapt this formula to allow adding multiple "if" formula's? Example:
=IF(A1=MAX($A$1:$A$3),A1,"") PLUS =IF(B1=MAX($B$1:$B$3),B1,"") PLUS
=IF(C1=MAX($C$1:$C$3),C1,"") ? Thanks everyone - today was the first time
I've ever posted for help - you rock! ;-)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default =IF(A1=MAX($A$1:$A$3),A1,"") Adapt to use multiple "if" formul

Here is my original post if that helps at all:

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.


"Farhad" wrote:

Hi,

What do you mean? the result of all tese IF's shoud come to one cell? but it
dosn't make sense, what if all these IF's return TRUE or 2 of then would be
TRUE and one of them FALSE? please explain.

Thanks,

--
Farhad Hodjat


"tssgraham" wrote:

How can I adapt this formula to allow adding multiple "if" formula's? Example:
=IF(A1=MAX($A$1:$A$3),A1,"") PLUS =IF(B1=MAX($B$1:$B$3),B1,"") PLUS
=IF(C1=MAX($C$1:$C$3),C1,"") ? Thanks everyone - today was the first time
I've ever posted for help - you rock! ;-)



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default =IF(A1=MAX($A$1:$A$3),A1,"") Adapt to use multiple "if" formula's

Perhaps this formula?

A4:
=IF(A1=MAX($A$1:$A$3),A1)+IF(B1=MAX($B$1:$B$3),B1) +IF(C1=MAX($C$1:$C$3),C1)

Copy that formula down through A6

Does that help?

(also...Next time, please stay in the same thread when only clarifying the
request)

***********
Regards,
Ron

XL2002, WinXP


"tssgraham" wrote:

How can I adapt this formula to allow adding multiple "if" formula's? Example:
=IF(A1=MAX($A$1:$A$3),A1,"") PLUS =IF(B1=MAX($B$1:$B$3),B1,"") PLUS
=IF(C1=MAX($C$1:$C$3),C1,"") ? Thanks everyone - today was the first time
I've ever posted for help - you rock! ;-)





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default =IF(A1=MAX($A$1:$A$3),A1,"") Adapt to use multiple "if" formul

Hi,

in the cell A4: =IF(A1=MAX($A$1:$A$3),A1,"")
in the cell A5: =IF(A2=MAX($A$1:$A$3),A2,"")
in the cell A6: =IF(A3=MAX($A$1:$A$3),A3,"")

Thanks,

--
Farhad Hodjat


"tssgraham" wrote:

Here is my original post if that helps at all:

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.


"Farhad" wrote:

Hi,

What do you mean? the result of all tese IF's shoud come to one cell? but it
dosn't make sense, what if all these IF's return TRUE or 2 of then would be
TRUE and one of them FALSE? please explain.

Thanks,

--
Farhad Hodjat


"tssgraham" wrote:

How can I adapt this formula to allow adding multiple "if" formula's? Example:
=IF(A1=MAX($A$1:$A$3),A1,"") PLUS =IF(B1=MAX($B$1:$B$3),B1,"") PLUS
=IF(C1=MAX($C$1:$C$3),C1,"") ? Thanks everyone - today was the first time
I've ever posted for help - you rock! ;-)



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default =IF(A1=MAX($A$1:$A$3),A1,"") Adapt to use multiple "if" formul

Thanks Ron. I tried that and received the "VALUE" error. I'm heading home
now, this problem can wait until Monday! Have a great weekend. Todd.

"Ron Coderre" wrote:

Perhaps this formula?

A4:
=IF(A1=MAX($A$1:$A$3),A1)+IF(B1=MAX($B$1:$B$3),B1) +IF(C1=MAX($C$1:$C$3),C1)

Copy that formula down through A6

Does that help?

(also...Next time, please stay in the same thread when only clarifying the
request)

***********
Regards,
Ron

XL2002, WinXP


"tssgraham" wrote:

How can I adapt this formula to allow adding multiple "if" formula's? Example:
=IF(A1=MAX($A$1:$A$3),A1,"") PLUS =IF(B1=MAX($B$1:$B$3),B1,"") PLUS
=IF(C1=MAX($C$1:$C$3),C1,"") ? Thanks everyone - today was the first time
I've ever posted for help - you rock! ;-)



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 860
Default =IF(A1=MAX($A$1:$A$3),A1,"") Adapt to use multiple "if" formul

Hi Todd,

Type them in without the absolute references as..

in the cell A4: =IF(A1=MAX(A1:A3),A1,"")
in the cell A5: =IF(A2=MAX(A1:A3),A2,"")
in the cell A6: =IF(A3=MAX(A1:A3),A3,"")


Highlight A4 to A6 and drag across as far as you need.

HTH
Martin


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
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
freeze window creates multiple "views" suffixed with ":n" dgaex001 Excel Discussion (Misc queries) 5 March 22nd 06 05:28 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


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