Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
I need the number 1,802,224 to be pulled from anothe rworksheet and be shown
as 1,802. as the result. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
To just change the display:
Format/Cells/Number/Custom #,##0, In article , Jamie wrote: I need the number 1,802,224 to be pulled from anothe rworksheet and be shown as 1,802. as the result. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
I need the number 1,802,224 to be pulled from anothe rworksheet
and be shown as 1,802. as the result. Assuming that number is in cell A1 on the other sheet, this maybe.... =INT(OtherSheetName!A1/1000) ??? Rick |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
"Rick Rothstein \(MVP - VB\)" wrote...
I need the number 1,802,224 to be pulled from anothe rworksheet and be shown as 1,802. as the result. Assuming that number is in cell A1 on the other sheet, this maybe.... =INT(OtherSheetName!A1/1000) This doesn't round. It truncates to the nearest integer less than or equal to the original value. If you're going to use a function, use the correct one. =ROUND(OtherSheetName!A1,-3) |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
OTOH, to actually round the value:
=ROUND(Sheet2!A1/1000,0) In article , JE McGimpsey wrote: To just change the display: Format/Cells/Number/Custom #,##0, In article , Jamie wrote: I need the number 1,802,224 to be pulled from anothe rworksheet and be shown as 1,802. as the result. |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
But the OP wanted the result to be 1,802. , not 1,802,000
so it would have to be =ROUND(OtherSheetName!A1,-3)/1000 or =ROUND(OtherSheetName!A1/1000,0) -- David Biddulph "Harlan Grove" wrote in message ups.com... This doesn't round. It truncates to the nearest integer less than or equal to the original value. If you're going to use a function, use the correct one. =ROUND(OtherSheetName!A1,-3) "Rick Rothstein \(MVP - VB\)" wrote... I need the number 1,802,224 to be pulled from anothe rworksheet and be shown as 1,802. as the result. Assuming that number is in cell A1 on the other sheet, this maybe.... =INT(OtherSheetName!A1/1000) |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
I need the number 1,802,224 to be pulled from anothe rworksheet
and be shown as 1,802. as the result. Assuming that number is in cell A1 on the other sheet, this maybe.... =INT(OtherSheetName!A1/1000) This doesn't round. It truncates to the nearest integer less than or equal to the original value. If you're going to use a function, use the correct one. =ROUND(OtherSheetName!A1,-3) Did you mean to write =ROUND(OtherSheetName!A1,-3)/1000 It is unclear from the OP's original example whether he wants rounding or truncation. Rick |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
The subject line would tend to indicate "round"...<g
In article , "Rick Rothstein \(MVP - VB\)" wrote: It is unclear from the OP's original example whether he wants rounding or truncation. |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
Actually, the OP was ambiguous as to whether the stored value should be
1,802 or whether it should just "be shown as 1,802". If the latter, there's no need for functions at all: =OtherSheetName!A1 Format as #,##0, In article , "David Biddulph" <groups [at] biddulph.org.uk wrote: But the OP wanted the result to be 1,802. , not 1,802,000 so it would have to be =ROUND(OtherSheetName!A1,-3)/1000 or =ROUND(OtherSheetName!A1/1000,0) -- |
#10
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
It is unclear from the OP's original example whether he wants rounding or
truncation. The subject line would tend to indicate "round"...<g Oh sure, now we have to read the Subject lines too! <g Thanks, I missed that... I stand corrected. Rick |
#11
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
how can i round in excel to the nearest thousand
Format as #,##0,
As I have posted before, my main "world" is the compiled version of VB and in my 25+ years of programming BASIC and VB, I never saw that 'end with a comma" trick... I just tried it in the compiled version of VB and it works in the Format statement there (one comma truncates/rounds off the thousands, two trailing commas truncates/rounds off the millions, and so on). Very interesting. After all these years... still learning new things about an old friend. Thanks for posting/emphasizing it. By the way, that means there is another alternative for the OP's question... =--TEXT(OtherSheetName!A1,"#,###,") as a number (leave off the double minus signs for text). Rick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how can i round a dollar amount to the nearest thousand? | Excel Worksheet Functions | |||
How do I round a number to the nearest thousand in Excel??? | Excel Discussion (Misc queries) | |||
How do you round to nearest thousand? ie 10,000 to 10 | Excel Discussion (Misc queries) | |||
Format Round to Nearest Thousand | Excel Discussion (Misc queries) | |||
Round to nearest thousand | Excel Discussion (Misc queries) |