If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Finding the Max

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-08, 05:31
JezLisle JezLisle is offline
Registered User
 
Join Date: Apr 2007
Location: Stalybridge, Manchester
Posts: 273
Finding the Max

Not sure if I'm having one of those days already but, I want to find out to show the Max number between a set of different cells.

I have a report which show different information. I want to take certain cells and find out what the max number would be...

An example of where they are set out is

C12
F12
I12
C24
F24
C36
F36

I thought =MAX(C12,F12 and so on would work but I end up with error

Where I gone wrong?
Reply With Quote
  #2 (permalink)  
Old 09-25-08, 08:43
Wim Venema Wim Venema is offline
Registered User
 
Join Date: Jun 2004
Location: Lichtenvoorde, Netherlands
Posts: 53
I think the format should be =MAX(C12;F12...

So swap the comma for a semicolon...
Reply With Quote
  #3 (permalink)  
Old 09-29-08, 04:53
JezLisle JezLisle is offline
Registered User
 
Join Date: Apr 2007
Location: Stalybridge, Manchester
Posts: 273
I have the problem where that these numbers are imported via code from SQL Server. They are showing as Text when being imported, how can they be changed to number?
Reply With Quote
  #4 (permalink)  
Old 09-30-08, 11:23
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Location: Surrey, UK
Posts: 448
The operator for joining arguments in Excel is the comma.

If your values are coming through as text, use the VALUE() function to turn them back into digits. (What I tend to do in this situation is mark then end of the column next to the data range, and then create a formula at the top to do what I need. In this case, it would be =VALUE([CellReference]). Then I copy that formula down to the mark, copy the formula range and paste values over the source column.)
Reply With Quote
  #5 (permalink)  
Old 10-14-08, 21:04
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Either that, or multiply every cell by 1, which converts them to numbers.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On