Separating (or Obtaining) The Denominator And Numerator

Nov 21, 2007

Is it possible to obtain the numerator and denominator from a fraction?

For example, I entered different numbers and display them as fractions in the cell using the format "?/?"
Is it possible to obtain the numerator and denominator from that cell and place them into a different cell?

ex: In cell [A1] is the value "1/4"
can i take the numerator "1" and place it in cell [A2] and the denominator "4" and place it in cell [A3]

By the way, I've tried using the functions LEFT and RIGHT but they display the value in it's decimal form. (example: RIGHT(A1, 2) displays the number "25" from 1/4=0.25 as opposed to "/4"

View 9 Replies


ADVERTISEMENT

Using Numerator Of Range Of Fraction Values In VBA

Dec 15, 2013

I have created a "heat map" in VBA that takes fractional values and "ranks" them in 10 equal bands, then assigns a colour to each band. (Hopefully that made sense to you VBA experts out there)

However, I now want to look at the numerators of these fractions, rank these, and do something like "if the numerator is > x then proceed, else exit. Is there a way to reference these numerators directly? If so, is there a way to store them in some sort of array then take the max value too?

I've tried searching this and it seems like this should be a simple answer, but is there any way I can reference the numerator of a fraction in Excel? These cells will contain formulae; so they'll be E5/C5 for example.

View 3 Replies View Related

Four Consecutive Numbers That Contain Exactly Four Simple Denominator

Jan 8, 2014

The first of two consecutive numbers with exactly two simple denominator are:

14 = 2 × 7
15 = 3 × 5

The first of three consecutive numbers with exactly 3 simple denominator are:

644 = 2 × 7 × 23
645 = 3 × 5 × 43
646 = 2 × 17 × 19

I need to write a program that finds the first four consecutive numbers that contain exactly four simple denominator.

View 2 Replies View Related

Calculate Percentage With Greatest Denominator

Jan 24, 2008

I have two columns of data, in another column I have the difference between these two columns, now I want to show the difference as a percentage. Assume cell A is 0.02 and cell B is 0.03 the difference is 0.01 and the percentage of the difference would be 33% or 0.01/0.03, my problem is when cell A is 0.04 and cell B is 0.01 the same formula wouldn’t work in both cases since in the first A<B and the second A>B is there a way that I can take the difference and divide it by the greater of A and B without having to do it manually?

View 6 Replies View Related

Grow Denominator Ratio By Fixed Percentage Until Equal Or Greater Than

Aug 24, 2006

I have what may be a math question as much as an Excel question. See my attached spreadsheet example in which I grow the denominator of a ratio by a fixed percentage until it equals or exceeds the numerator. This results in the denominator being grown X number of times.

View 2 Replies View Related

Divided Sums Of 2 Columns With Denominator Changing Based On Blank Values In Column

Dec 31, 2013

I am trying to create a sheet on docs.google.com that takes the sum of 1 row divided by the sum of another row removing numbers from the denominator if fields are left blank. Hard for me to explain so here is an example:

Counter
Column 2
Column 3

[Code]....

Leaving a blank value in column 2 makes it read 4/6 giving me 66%, Column 3 giving me 50%.

What I would like it to do is if there is a blank value in any column remove column one from the denominator.

Upon completion the total output percentage for column 2 should be 100%, and column 3 should be 75%.

View 3 Replies View Related

Obtaining A Range

May 2, 2006

I need to obtain a range of cells starting on cell B10 to the end of records (vertical)

I need to do two things with this:

1) Count the number of records from cell B10 to the last row populated with data

2) Format the cells in this range

FYI - "R" is always the last column.

View 3 Replies View Related

Matching Columns And Obtaining The Value?

Dec 18, 2012

I have two worksheets, sheet 1 and sheet 2. On sheet 1, I have a information on two columns (Column A and B) Column a has information up to row 10 (aaa, bbb, ccc, ddd, ...). On column B, I have 111, 222, 333 . I have same information on Sheet 2. However, sheet two has an additional column (Column C) with 10 rows on information z, y, x, w, v ...

What I need to do is to match column A and B in sheet 1 to column A and B in sheet 2 and if both columns matches on the same row, copy the value in sheet 2, column C and paste it on sheet 1 column C.

Important: Information on sheet 2, column B may be twisted (As they may not appear exactly the same as in sheet 1. Which means 111,222,333 can be 222,333,111 along the column). Therefore, need to match the entire range.

View 7 Replies View Related

Obtaining Information From Listboxes

Feb 4, 2014

I have a listbox (form control) on an excel sheet, where the user can select (or deselect) multiple entries.

Is there a way to have vba spit out which options are selected? if I choose "single" for selection type, it will tell me which option i have selected. Is there something similar for multiple?

View 3 Replies View Related

Obtaining Values Within A Range

Mar 15, 2014

I've got a problem where I need to assign values to ranges between 0 and 3.

Eg.

RANGE VALUE
2-3 2.2
1-3 1.6
0-3 0.8
0-2 0.5
0-2 0.5
0-1 0.1
0-1 0.1
0-1 0.1
0-1 0.1

The values above are simply approximates done manually but I need it done automatically using a formula. The resulting values should be proportioned similarly to the ones above but they need to all sum up to 6 and be no more than 3 each.

View 9 Replies View Related

Obtaining A Number Value From A Field

Jul 31, 2009

I am going to create a large drop down list with data validation the list is to do with fitness the list will containt a sport with a numeral after it
for example : GOLF 4.5 then under that Basketball 12

what i am wanting to do is make a calculation based on what sport is selected in that cell for instance GOLF 4.5 is selected in the cell so i need to say valueinA43*D43/B9 can this be done?? Or if not. can i extract the value from the list to another cell without the text and then perform the calculation.........

View 5 Replies View Related

Obtaining Data About PDFs

Nov 20, 2013

I have a large number (couple of hundred) pdf's in a folder for electrical test certificates. The pdf's are in the format 54 Pike Drive.pdf etc. and have the date modified.

Ideally, as well as the address I would like the date modified as this is pretty close to the date of the certificate so will suffice.

Failing the date, just the addresses will do which need to go on separate rows in Excel.

I've tried copying and pasting the files but to no avail.

View 13 Replies View Related

Obtaining Birthday Day From Next Month.

Mar 5, 2008

I use the following fomula to test and advise of an upcoming birthday:-

=IF(AND(MONTH(TODAY())-MONTH(B6)=0,DAY(B6)-DAY(TODAY()) 25.

View 9 Replies View Related

Obtaining Digital Certificate

Sep 24, 2006

I have a spreadsheet with macro's in and everytime the user opens it that annoying security box opens and asks to allow/disable macro's. I believe it is due to a digital certificate. How to i obtain one, and if i do get one will it stop thie popup occuring for other users on different computers or just me????

View 2 Replies View Related

Obtaining Interpolated Values Of Z Based On X And Y

Jan 12, 2013

I'm working on a program, which gives me interpolated values of z from a digitized graph based on the cursor position or input values of x and y. Thing that bothers me for quite some time is how to get properly interpolated z value. I was using SADA (spatial analysis software), where I was creating a 100x100 matrix, but the interpolation methods there are not as accurate as I need.

Basically, from digitizing a graph I get a matrix:

VB:
x1, y1, z1;
x2, y2, z1;
x3, y3, z2;
x4, y4, z2;
.
.
.
x3742, y3742, z24

Now, inputting x and y that are not in the matrix should give me interpolated value of z, which gets even more tricky when the axes are in log scale. The only idea that I have in my mind and that I think would work is this:

for each missing z, from zmin=0,625 to zmax=3 , every 0,001, I would make 1000 (enough accuracy in this case) xs and ys. How to automate the process.

View 1 Replies View Related

Obtaining Values Based On 2 Criteria?

May 23, 2014

I have 2 worksheets with the below data.

Sheet 1

Part Number Client X Client Y Client Z
127-003104-03 $38,835.00 $27,756.75 $38,835.00
127-002114-03 $31,600.00 $27,037.50 $31,600.00
127-010113-01 $25,000.00 $24,270.00 $25,000.00
127-001113-03 $25,000.00 $24,270.00 $25,000.00
138-001113-01 $27,900.00 $26,790.00 $27,900.00

Sheet 2

PurchaserPart # Outward Rate
Client X 127-002114-03

I want a formula for "the Outward rate" which will check the 2 criteria of the client name and product code and return the unit price for the product.

View 1 Replies View Related

Formula For Obtaining Value A Dependant On Cell X

Jan 16, 2010

so basically, im trying to find a way to get cell G3 to have Value X dependant on value from Cell G2. e.g. if cell g2 is 8 and 9, g3=10 if g2 is 11, g3=20 and so on. i dont mind having to add a preset table of values if we need, but it would be set on sheet 2.

EDIT
Value from cell G2 will always be between 4 and 20, set by the user. what i want is that each of those values gives G3 a pre-planned value.
if g2 has value 4. g3 value would be -5
if g2 has value 5. g3 value would be 0
if g2 has value 6. g3 value would be 5
if g2 has value 7. g3 value would be 5
if g2 has value 8. g3 value would be 10
if g2 has value 9. g3 value would be 10
if g2 has value 10. g3 value would be 15
if g2 has value 11. g3 value would be 20
if g2 has value 12. g3 value would be 20
if g2 has value 13. g3 value would be 25
and so on until it reaches g2=20

i was thinking of setting a table on sheet 2 for the g3 values, and get an IF function to do something like IF g2 = a then x, if g2 = b then y etc etc. im just not sure how it would work, unless an INDEX function would work better?

View 4 Replies View Related

Alternative Way Of Obtaining The Last Line Of Code

Feb 19, 2008

I have the following snippet of -

Worksheets(2).Cells(20, 3) = "=IF(C29=""09"",""09"",IF(C28=""08"",""08"",IF(C27=""07"",""07"",IF(C26=""06"",""06"",IF(C25=""05"",""05"",IF(C24=""04"",""04"",IF(C23=""03"",""03"",IF(C22=""02"",""02"",""00""))))))))"

which works. However I want it to be: -

Worksheets(2).Cells(20, 3) = "=IF(C29=""09"",""09"",IF(C28=""08"",""08"",IF(C27=""07"",""07"",IF(C26=""06"",""06"",IF(C25=""05"",""05"",IF(C24=""04"",""04"",IF(C23=""03"",""03"",IF(C22=""02"",""02"",IF(C21=""01"",""01"",""00"")))))))))"
but I can't because I can only have 8 nested IF's.

Is there an alternative way of obtaining the last line of code?

View 9 Replies View Related

Obtaining Varying Position Cell Value From Different Sheet?

Jan 21, 2014

I want to automate the process of updating my football stats and have delved into getting my data from the web. I have managed to import a football league onto my "standings" sheet but I want my "strengths" sheet to read it's values from this new "standings" sheet.

The "standings" sheet is broken down into 2 tables (home & away) one above the other.

The values I want are Home Games, Away Games, Home Goals For, Away Goals For, Home Goals Against And Away Goals Against from both the home table and the away table. The main problem I have is that the cell information I need is likely to change as I update the league tables from the web. So say one week Team A's data is in row 7 the following week it could be in row 8 so i need the data to correlate with the team name cell in my "strengths" sheet.

So at the moment Atromitos Home games (cell B8 on my strengths sheet) needs the value from cell C8 on my "standings" sheet but by next week it could need the value from C9.

Ps I am assuming that I can just just hit the refresh button on the ribbon and the data from the web site will update. Is this correct?

View 4 Replies View Related

Obtaining Results From Linked Lists Automatically

Dec 4, 2008

I want to know how to link te two lists in my register so that when i select a particular route in one column the corresponding column automatically selects the transit time from the reference list.

View 2 Replies View Related

Obtaining Certain Data From A Range Depending On Multiple Factors

Nov 15, 2013

I have a sheet with 5000+ entries, column A is an ID number, column B has one of 4 outcomes C,D and E are just times and quantities and are not important.

In column A there could be multiple entries of the same ID number.

In column B it will show Pcid243A, Pcid243B, Ddar400A or Ddar400B.

I need to export (to another sheet) any entries with the following conditions:

A = ID number with any instance in B showing both a 243 and 400 condition.

E.G

A B C D E
AA565677878D - Pcid243B - C - D - E
AA837632823G - Pcid243B - C - D - E
AA837632823G - Pcid243A - C - D - E
YA74846CC - Ddar400A - C - D - E
WW768765364F - Ddar400A - C - D - E
WW768765364F - Ddar400B - C - D - E
WW768765364F - Pcid243B - C - D - E
AA73262362G - Ddar400B - C - D - E

In the example above, I'd need the red cells exporting to a new sheet as they meet the conditions of having the same ID and both a 243 & 400 outcome:

A B C D E
AA565677878D - Pcid243B - C - D - E
AA837632823G - Pcid243B - C - D - E
AA837632823G - Pcid243A - C - D - E
YA74846CC - Ddar400A - C - D - E
WW768765364F - Ddar400A - C - D - E
WW768765364F - Ddar400B - C - D - E
WW768765364F - Pcid243B - C - D - E
AA73262362G - Ddar400B - C - D - E

Now I've spent ages trying different things and can't get anything to work...

View 3 Replies View Related

Obtaining List Of Worksheet Names For INDIRECT Function

Jun 11, 2008

I am familiar with the use of the INDIRECT function to retrieve data from different sheets in a workbook. However, is there a simple way of obtaining a list of all sheet names in a workbook (I have about 50) rather than typing them into the sheet individually?

I can see them in the workbook properties but can't copy and paste them.

View 9 Replies View Related

Excel 2007 :: Obtaining Average Across Multiple Worksheets Using VLOOKUP?

Feb 17, 2014

very basic Excel user (using Excel 2007). Trying to see how I can use the VLookup function from multiple worksheets to get an average. I know it can be done, but just not sure how to go about doing that. My spreadsheet is attached - basically what I want to do is to get an average for the individuals listed in the "Consensus" tab for the figures that appear in Worksheets "1", "2" and "3".

View 14 Replies View Related

Obtaining Largest Number In A Range But Then Pulling Back Name Of Team

Oct 16, 2013

I have a set of data like below, I am trying to get a formula to look at a range i.e. May column and then select the highest number in that range but rather than returning the number returning the team name, is that possible? Not sure where to start...

Jan
Feb
Mar
Apr
May
Jun

Team 1
25087
23029
32991
21319
25271
25136.8

[Code] .........

View 4 Replies View Related

Separating The Dates.

Feb 22, 2010

I have a form where users can input a Date by utilizing 3 drop down combo boxes. Once they've made their selection that Date gets written to a cell on the worksheet. If for some reason they need to change that Date, they would reopen the form and select a new Day month or year.

I would like the three comboboxes to show the D/M/Y previous written to the worksheet. But I would have to split up the date that has since been concatenated.

View 8 Replies View Related

Separating Out Address Using VBA

Jun 28, 2013

I have a spread sheet with thousands of addresses in them.

It does not hold the state however.

I need to separate each part of the address into it's own cell on the same sheet.

Keeping the first part ONLY of the address in the original place the address was in.

However not having the city, or zip in that cell.

For example:

E2 holds the address: 19505 45th Ave. W. Suite A, Lynnwood 90821

(There is always a comma before the city. However sometimes there is another comma before Suite...)

I want the end result to be:

E2: 19505 45th Ave. W. Suite A
I2: Lynnwood
K2: 90821

Then I would like it to loop through all the address's in the "E" Column until it has edited all the address's. It is sad to say but I have been working on this for over 48 hours... Can't believe no one online hasn't come up with a clear answer on how to do this. At this point I am looking for the code to make this happen in Excel VBA.

View 9 Replies View Related

Separating Second Occurrence

Sep 16, 2008

[data] ....

I'm having a problem seperating the prices in Colomn H into three seperate cells C,E & G
The first figure in c is easy enough if a little long (any possible tidier solutions?)
The second Im not happy with it is clumsy using the fixed lenght figure "5"
The last I cant figure out probably because Ive done the second incorrectly!
Finally I can not see why figures apear in away team.

View 9 Replies View Related

Separating Data In A Cell?

Aug 20, 2014

I've been tasked with separating data within an Excel cell into it's own row. The difficulty I am having is, I need to keep the ticket number each piece of data within that cell is linked to. For example, I have Column A that has the ticket number, and column I has the serial numbers of each piece of equipment linked to that ticket number. I would like the serial numbers separated into their own row, but still keep the ticket number in which that equipment is connected to.

Here's an example: Column A Column I
Ticket # Serial Numbers on Account
23999866 PAFR06598067 - MOPCUDTAM

Would I need a formula to do this, or is this something I can do using one of the Ribbon commands?

View 9 Replies View Related

Separating Information In Cells

Aug 6, 2007

I have rows of cells with the following information..

Row 1, Column 1: Address City/State
Example: 111 Old Creek Road Stanton, VA 25523

Is there any way to separate the Address and the City/State? I would much rather the spreadsheet be in the following format.

Row 1, Column 1: Address
Row 1, Column 2: City/State

or ..

Row 1, Column 1: 111 Old Creek Road
Row 1, Column 2: Stanton, VA 25523

I'm just wondering if there's a fast way to do this, or if I have to go in and do it manually - the reason i'm looking for a faster way to do this is because I have approximately 3000 rows to do it to. :shrugs:

View 9 Replies View Related

Separating Or Sorting Data

Sep 22, 2008

for example:

Column A.

@yahoo.com
@hotmail.com
@live.com
@msn.com
@yahoo.com
@hotmail.com
@live.com
@msn.com

how can i separate all datas by domain without having to cut and paste them manually.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved