Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default urgent...convert sum into max

sorry for the urgency but i thought i posted this message yesterday afternoon
and assumed that i could make some headway this am...but it doesn't appear to
have posted.

Question:
is there a way to convert a forumula that looks like this =a1+a2+a3 to
Max(a1,a2,a3)? also can i convert =sum(a1:a3) to max(a1:a3).

in the first case it has 3 entries, in another instance it might have 4, 5,
etc.

do i use the subtitute function?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 506
Default urgent...convert sum into max

For Converting =sum(a1:a3) to =Max(a1:a3)
Select the range and press Cntrl+H in Find what box: mention SUM and in
Replace with: type MAX and give Replace All. Now the Sum function will be
converted to Max function.

For Converting =a1+a2+a3 to =MAX(A1,A2,A3)
Select the range and press Cntrl+H in Find what box: mention = and in
Replace with: type =MAX( and give Replace All. Now the Sum function will be
converted to =MAX(A1+A2+A3)
Again in Find what box: mention + and in Replace with: type , (comma) and
give Replace All. Now the =MAX(A1+A2+A3) will be converted to =MAX(A1,A2,A3).

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Tami" wrote:

sorry for the urgency but i thought i posted this message yesterday afternoon
and assumed that i could make some headway this am...but it doesn't appear to
have posted.

Question:
is there a way to convert a forumula that looks like this =a1+a2+a3 to
Max(a1,a2,a3)? also can i convert =sum(a1:a3) to max(a1:a3).

in the first case it has 3 entries, in another instance it might have 4, 5,
etc.

do i use the subtitute function?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default urgent...convert sum into max

Substitute works on data, not formulas. Use the Replace command to change
formulas. The actual steps required depend on your version of Excel. As
always, identifying the version of Excel you are using will help you get
more accurate answers, especially when they are urgently needed.

Regards,
Fred

"Tami" wrote in message
...
sorry for the urgency but i thought i posted this message yesterday
afternoon
and assumed that i could make some headway this am...but it doesn't appear
to
have posted.

Question:
is there a way to convert a forumula that looks like this =a1+a2+a3 to
Max(a1,a2,a3)? also can i convert =sum(a1:a3) to max(a1:a3).

in the first case it has 3 entries, in another instance it might have 4,
5,
etc.

do i use the subtitute function?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default urgent...convert sum into max

thanks, ok, so i get the first one...its using the edit/replace function to
modfiy the formula but i actually need a macro (or a formula) to do the steps
and put the new formula in another cell.

so in other words the sum formula =sum(a1:a3) is in cell A7....i need to put
the Max formula =max(a1:a3) in cell B7 by using a macro or by using a
forumula that looks at cell a7

ditto if the formula is =a1+a2+a3.

suggestions? should i use "replace", "subtitute", use a formula or use a
macro?

thanks for any and all suggestions:-)




"Ms-Exl-Learner" wrote:

For Converting =sum(a1:a3) to =Max(a1:a3)
Select the range and press Cntrl+H in Find what box: mention SUM and in
Replace with: type MAX and give Replace All. Now the Sum function will be
converted to Max function.

For Converting =a1+a2+a3 to =MAX(A1,A2,A3)
Select the range and press Cntrl+H in Find what box: mention = and in
Replace with: type =MAX( and give Replace All. Now the Sum function will be
converted to =MAX(A1+A2+A3)
Again in Find what box: mention + and in Replace with: type , (comma) and
give Replace All. Now the =MAX(A1+A2+A3) will be converted to =MAX(A1,A2,A3).

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Tami" wrote:

sorry for the urgency but i thought i posted this message yesterday afternoon
and assumed that i could make some headway this am...but it doesn't appear to
have posted.

Question:
is there a way to convert a forumula that looks like this =a1+a2+a3 to
Max(a1,a2,a3)? also can i convert =sum(a1:a3) to max(a1:a3).

in the first case it has 3 entries, in another instance it might have 4, 5,
etc.

do i use the subtitute function?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default urgent...convert sum into max

Why not just enter the Max formula in B7? Presumably you entered the Sum
formula in A7. Do the same for B7.

There is no formula which can look at A7 to find the Max. You have to look
at the original data (ie, a1:a3).

Regards,
Fred

"Tami" wrote in message
...
thanks, ok, so i get the first one...its using the edit/replace function
to
modfiy the formula but i actually need a macro (or a formula) to do the
steps
and put the new formula in another cell.

so in other words the sum formula =sum(a1:a3) is in cell A7....i need to
put
the Max formula =max(a1:a3) in cell B7 by using a macro or by using a
forumula that looks at cell a7

ditto if the formula is =a1+a2+a3.

suggestions? should i use "replace", "subtitute", use a formula or use a
macro?

thanks for any and all suggestions:-)




"Ms-Exl-Learner" wrote:

For Converting =sum(a1:a3) to =Max(a1:a3)
Select the range and press Cntrl+H in Find what box: mention SUM and in
Replace with: type MAX and give Replace All. Now the Sum function will
be
converted to Max function.

For Converting =a1+a2+a3 to =MAX(A1,A2,A3)
Select the range and press Cntrl+H in Find what box: mention = and in
Replace with: type =MAX( and give Replace All. Now the Sum function will
be
converted to =MAX(A1+A2+A3)
Again in Find what box: mention + and in Replace with: type , (comma) and
give Replace All. Now the =MAX(A1+A2+A3) will be converted to
=MAX(A1,A2,A3).

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Tami" wrote:

sorry for the urgency but i thought i posted this message yesterday
afternoon
and assumed that i could make some headway this am...but it doesn't
appear to
have posted.

Question:
is there a way to convert a forumula that looks like this =a1+a2+a3 to
Max(a1,a2,a3)? also can i convert =sum(a1:a3) to max(a1:a3).

in the first case it has 3 entries, in another instance it might have
4, 5,
etc.

do i use the subtitute function?


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
Urgent Pls, how to convert an addin xlam file to xls worksheet in Ahmed Excel Discussion (Misc queries) 1 April 28th 09 06:25 PM
IME MODE FOR EXCEL 2007 (URGENT URGENT) Stella Wong Excel Discussion (Misc queries) 1 August 23rd 08 11:16 PM
Urgent Help!!! VIVEKMANE Excel Worksheet Functions 2 October 29th 07 05:20 AM
Urgent-Urgent VBA LOOP Jeff Excel Discussion (Misc queries) 0 October 6th 05 05:46 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM


All times are GMT +1. The time now is 07:23 PM.

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"