#1   Report Post  
Posted to microsoft.public.excel.misc
jayseeca
 
Posts: n/a
Default Ratio Formula

I'm having trouble finding a formula in excel, to just create a ratio between
values from 2 different columns.
Help please?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Daniel CHEN
 
Posts: n/a
Default Ratio Formula


=B1/A1
Is this what you want?
Or be more specific.

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"jayseeca" wrote in message
...
I'm having trouble finding a formula in excel, to just create a ratio
between
values from 2 different columns.
Help please?



  #3   Report Post  
Posted to microsoft.public.excel.misc
jayseeca
 
Posts: n/a
Default Ratio Formula

i have 2 columns with large numbers, and i'm kinda looking for it to show up
in the cell looking like this:
"184:3930" or "184/3930"

thanks!

"Daniel CHEN" wrote:


=B1/A1
Is this what you want?
Or be more specific.

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"jayseeca" wrote in message
...
I'm having trouble finding a formula in excel, to just create a ratio
between
values from 2 different columns.
Help please?




  #4   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Ratio Formula

=a1 & ":" & a2

or

=a1 & "/" & a2

"jayseeca" wrote:

i have 2 columns with large numbers, and i'm kinda looking for it to show up
in the cell looking like this:
"184:3930" or "184/3930"

thanks!

"Daniel CHEN" wrote:


=B1/A1
Is this what you want?
Or be more specific.

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"jayseeca" wrote in message
...
I'm having trouble finding a formula in excel, to just create a ratio
between
values from 2 different columns.
Help please?




  #5   Report Post  
Posted to microsoft.public.excel.misc
jayseeca
 
Posts: n/a
Default Ratio Formula

thanks. i was wondering though... the numbers i'm working with are large, and
is there a way where it would turn into more of a "smaller" ratio?
ex: 10:500 would turn into 1:50

"Toppers" wrote:

=a1 & ":" & a2

or

=a1 & "/" & a2

"jayseeca" wrote:

i have 2 columns with large numbers, and i'm kinda looking for it to show up
in the cell looking like this:
"184:3930" or "184/3930"

thanks!

"Daniel CHEN" wrote:


=B1/A1
Is this what you want?
Or be more specific.

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"jayseeca" wrote in message
...
I'm having trouble finding a formula in excel, to just create a ratio
between
values from 2 different columns.
Help please?





  #6   Report Post  
Posted to microsoft.public.excel.misc
Elkar
 
Posts: n/a
Default Ratio Formula

You'll need the Analysis ToolPak installed for this. Just click on TOOLS --
ADD-INS -- Check "Analysis ToolPak" -- OK

Then you can use this formula:

=A1/GCD(A1,B1)&":"&B1/GCD(A1,B1)

HTH,
Elkar


"jayseeca" wrote:

thanks. i was wondering though... the numbers i'm working with are large, and
is there a way where it would turn into more of a "smaller" ratio?
ex: 10:500 would turn into 1:50

"Toppers" wrote:

=a1 & ":" & a2

or

=a1 & "/" & a2

"jayseeca" wrote:

i have 2 columns with large numbers, and i'm kinda looking for it to show up
in the cell looking like this:
"184:3930" or "184/3930"

thanks!

"Daniel CHEN" wrote:


=B1/A1
Is this what you want?
Or be more specific.

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"jayseeca" wrote in message
...
I'm having trouble finding a formula in excel, to just create a ratio
between
values from 2 different columns.
Help please?



  #7   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Ratio Formula

Try this:

=A1/HCF(A1,B1) &":" & B1/HCF(A1,B1)

A1 and B1 are your numbers


Put the VBA code below in a general module:

Function HCF(ByRef n1 As Long, ByRef n2 As Long)
Dim n3 As Long
Do
n3 = n1 Mod n2
n1 = n2
n2 = n3
Loop Until n3 = 0
HCF = n1
End Function

"jayseeca" wrote:

thanks. i was wondering though... the numbers i'm working with are large, and
is there a way where it would turn into more of a "smaller" ratio?
ex: 10:500 would turn into 1:50

"Toppers" wrote:

=a1 & ":" & a2

or

=a1 & "/" & a2

"jayseeca" wrote:

i have 2 columns with large numbers, and i'm kinda looking for it to show up
in the cell looking like this:
"184:3930" or "184/3930"

thanks!

"Daniel CHEN" wrote:


=B1/A1
Is this what you want?
Or be more specific.

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"jayseeca" wrote in message
...
I'm having trouble finding a formula in excel, to just create a ratio
between
values from 2 different columns.
Help please?



  #8   Report Post  
Posted to microsoft.public.excel.misc
tjtjjtjt
 
Posts: n/a
Default Ratio Formula

How about =A1/GCD(A1:B1)&":"&B1/GCD(A1:B1) with the Analysis Toolpak insalled?


--
tj


"jayseeca" wrote:

thanks. i was wondering though... the numbers i'm working with are large, and
is there a way where it would turn into more of a "smaller" ratio?
ex: 10:500 would turn into 1:50

"Toppers" wrote:

=a1 & ":" & a2

or

=a1 & "/" & a2

"jayseeca" wrote:

i have 2 columns with large numbers, and i'm kinda looking for it to show up
in the cell looking like this:
"184:3930" or "184/3930"

thanks!

"Daniel CHEN" wrote:


=B1/A1
Is this what you want?
Or be more specific.

--
Best regards,
---
Yongjun CHEN
=================================
XLDataSoft - Data Analysis Expert, Excel/VBA Specialist
- - - - www.XLDataSoft.com - - - -
Free Excel-Based Data Processing Tool is Available for Download
Free Excel / VBA Training Materials is Available for Download
=================================
"jayseeca" wrote in message
...
I'm having trouble finding a formula in excel, to just create a ratio
between
values from 2 different columns.
Help please?



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
assign formula to another cell Dannycol Excel Worksheet Functions 3 May 12th 06 09:46 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
I need a formula to calculate the ratio of #'s in a row and column KellyKulpa Excel Discussion (Misc queries) 8 September 13th 05 06:44 PM
Formula for Ratios Biff Excel Worksheet Functions 0 August 26th 05 12:40 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM


All times are GMT +1. The time now is 10:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"