Two numbers in one cell

  • Thread starter Thread starter Jed94568
  • Start date Start date
J

Jed94568

I want to enter two numbers in one cell, separated by a space or dash. I then
want to use a formula to sum the left hand number in one cell and the sum of
the right hand numbers in another cell. I would prefer to use a cell formula
to accomplish the above. Thanks, in advance, Jed
 
Hi,

=VALUE(LEFT(A1,FIND(" ",A1,1)))+VALUE(MID(A1,FIND(" ",A1,1),LEN(A1)))

with your nzmbers in cell A1 and separated by a space ...

HTH
Cheers
Carim
 
left side:
=SUM(VALUE(LEFT(A1:A3,FIND(" ",A1:A3,1))))
right side:
=SUM(VALUE(MID(A1:A3,FIND(" ",A1:A3,1),LEN(A1:A3))))

Both are array formulae, confirm them with Ctrl+Shift+Enter! Adjust A1:A3
range to your needs!

Regards,
Stefi

„Jed94568†ezt írta:
 
Back
Top