Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2017, 06:55 AM
ewso ewso is offline divide numbers within a cell Windows 10 divide numbers within a cell Office 2016
Advanced Beginner
divide numbers within a cell
 
Join Date: Nov 2016
Posts: 80
ewso is on a distinguished road
Default divide numbers within a cell

I have a spreadsheet with two numbers in the same cell, like this...

A1: $1.24(1.5)


A3: $2.35(1.6)
A5: $0.32(1.1)

I need to be able to divide the first number by the number that's in parentheses throughout the whole document. The parenthesis is right next to the first numbers without any space in between. Can this be done?

Thanks
Reply With Quote
  #2  
Old 06-04-2017, 11:37 AM
xor xor is offline divide numbers within a cell Windows 10 divide numbers within a cell Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,102
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

In B1 try:

=LEFT(A1,FIND("(",A1)-1)/MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)
Reply With Quote
  #3  
Old 06-04-2017, 03:53 PM
ewso ewso is offline divide numbers within a cell Windows 10 divide numbers within a cell Office 2016
Advanced Beginner
divide numbers within a cell
 
Join Date: Nov 2016
Posts: 80
ewso is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
In B1 try:

=LEFT(A1,FIND("(",A1)-1)/MID(A1,FIND("(",A1)+1,FIND(")",A1)-FIND("(",A1)-1)

Thanks xor, it works!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add only first numbers in each cell ewso Excel 9 05-24-2017 09:43 AM
Difference between 2 numbers in same cell Neila1982 Excel 1 02-12-2017 01:40 AM
divide numbers within a cell Add Numbers from One or Another Cell Kilch Excel 3 01-31-2017 12:55 PM
Search a cell that contains words and numbers and convert the numbers to metric Carchee Excel Programming 36 10-08-2014 03:16 PM
divide numbers within a cell adding numbers in same cell jetdude68 Word Tables 1 07-20-2010 12:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft