Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Less than 10

In column A I have a numbers, 57, 86, 92. In column B I want the digits
greater than 10 from column A, so column B would look like 50, 80, 90. In
column C I want everything less than 10 from column A, so column C would be
7, 6, 2.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Less than 10

In B1
=trunc(a1/10)*10
or
=A1-Mod(A1,10)

in C1
=A1-B1
or
=Mod(A1,10)


then select B1 & C1 and drag fill down the column.

--
Regards,
Tom Ogilvy

"Matthew Coady" wrote in message
...
In column A I have a numbers, 57, 86, 92. In column B I want the digits
greater than 10 from column A, so column B would look like 50, 80, 90. In
column C I want everything less than 10 from column A, so column C would

be
7, 6, 2.



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



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