Format/Cells/Number/Custom #,##0,
In article <EDF74AB9-E84B-4058...@microsoft.com>,
Assuming that number is in cell A1 on the other sheet, this maybe....
=INT(OtherSheetName!A1/1000)
???
Rick
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)
=ROUND(Sheet2!A1/1000,0)
In article <jemcgimpsey-86E6...@msnews.microsoft.com>,
"Harlan Grove" <hrl...@gmail.com> wrote in message
news:1181079300....@z28g2000prd.googlegroups.com...
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
In article <uYx0tw7p...@TK2MSFTNGP05.phx.gbl>,
"Rick Rothstein \(MVP - VB\)" <rickNOS...@NOSPAMcomcast.net>
wrote:
If the latter, there's no need for functions at all:
=OtherSheetName!A1
Format as #,##0,
In article <Bqednb2sbKEaRvjb...@bt.com>,
Oh sure, now we have to read the Subject lines too! <g>
Thanks, I missed that... I stand corrected.
Rick
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