Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default record dozens and singles in same cell and sum them?

I would like to record dozens and single units in single cells with a view to
using them in calculations. E.G. stock sheet -

12,4 in one cell added to 10,2 in another cell resulting with an answer 0f

22,6 in a third cell with the 22 representing 22 dozen items and the 6
representing 6 single items.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default record dozens and singles in same cell and sum them?

Hi,

With your 2 numbers in a1.B1 try this

=(LEFT(A1,FIND(",",A1)-1))+LEFT(B1,FIND(",",B1)-1)&","&MID(A1,FIND(",",A1)+1,LEN(A1))+MID(B1,FIND( ",",B1)+1,LEN(B1))

Mike

"Calculating Dozens" wrote:

I would like to record dozens and single units in single cells with a view to
using them in calculations. E.G. stock sheet -

12,4 in one cell added to 10,2 in another cell resulting with an answer 0f

22,6 in a third cell with the 22 representing 22 dozen items and the 6
representing 6 single items.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default record dozens and singles in same cell and sum them?



"Calculating Dozens" wrote:

I would like to record dozens and single units in single cells with a view to
using them in calculations. E.G. stock sheet -

12,4 in one cell added to 10,2 in another cell resulting with an answer 0f

22,6 in a third cell with the 22 representing 22 dozen items and the 6
representing 6 single items.


You could also use the trick of separating the two numbers with a decimal
point. Use a very large number of places to avoid overflow. So for example
the numbers could be 12.000004 and 10.000002 adding them gives 22.000006
The numbers can also be separated very easily using the =int 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
Meet Singles From All Over The World .. FOR FREE !! Zo0oMa Excel Worksheet Functions 0 November 18th 08 09:02 PM
Set cell to record date when adjacent cell is filled AND NOT RESET The new guy Excel Worksheet Functions 3 February 26th 07 06:11 PM
I want to consoidate a list of multiples to a list of singles Mr. Yanni Excel Worksheet Functions 1 June 21st 06 12:39 PM
Create a new list that singles out duplicate numbers moglione1 Excel Discussion (Misc queries) 1 August 18th 05 06:32 PM
Working with dozens HDSalinas Excel Discussion (Misc queries) 7 July 13th 05 01:24 AM


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