# Lookup Whole Numbers From Decimals

Aug 8, 2008
I 'm not sure why my custom function "minimize" is not working... I tried to do this with one of excels built in functions and would prefer a solution that way, but had to go the VBA route in the mean time. x and theta are paired together and I'm trying to reduce a select number of values x by their corresponding ratio.s It's corresponding ratio is determined by what degree value theta corresponds to. I wanted to do an if statement, but got confused...

=if((B2>=$J2)*(B2<$J3)) , A2*K2 , if((B2>=$J3)*(B2<$J4) , A2*$K3 , if((B3>=$J4)*(B3<$J5) , A3*$K4, .... etc. etc. etc........................

View 2 Replies
ADVERTISEMENT
Nov 13, 2013

I am looking for a VBA to sort rows which include actual numbers and text representing decomposed CTQs (or procedures in IT development)

Code:

Col A Col B

1Billing Accuracy

2Billing Time

3Credit Check Accuracy

4Credit Check Time

2.1Bill preparation

[Code]....

This is the order in which the data is copied and saved from worksheets in which they are developed. Note that 3 rows (8.1.2.1 through 8.1.2.3) are below 8.1.3 (because the three come from Worksheet 8.1.2 which came after worksheet 8.1). The first four rows came from a Top Level Worksheet. I would like to see them intermixed but in proper order.

View 9 Replies
View Related
Feb 8, 2009

A spreadsheet created by exporting from QuickBooks as a .IIF file is opened in Excel 2003.

A macro multiplies a cell value and returns 1.77999997138977 rather than 1.78. The 1.78 is required for importing back into Quickbooks.

Part of the code is: ...

View 13 Replies
View Related
Dec 10, 2007

I have a weird problem with Excel. It recognises all numbers as numbers but excluding the number 1. It is only recognised as text as well as a decimals, for example 3.4. So every time I try and add these values up it completely ignores 1 and decimals.

Have I modified a setting?

View 10 Replies
View Related
Jul 2, 2007

I want to convert the number in a cell, G7, from a whole number into a decimal and then divide that decimal into a whole number in cell E7 and give me the quotient in cell E8.

ie:312 = 6.0

286 = 5.5

260 = 5.0

234 = 4.5

208 = 4.0

182 = 3.5

156 = 3.0

130 = 2.5

104 = 2.0

78 = 1.5

52 = 1.0

Could this also be done with the entire range of numbers from 312 to 52 and giving decimals of 6.0, 5.9, 5.8 etc.

View 5 Replies
View Related
Dec 6, 2007

I received a complaint from one of my colleague that he is facing sudden problem with Ms-Excel(2002)

The problem is When he feeds number 2 in to a cell it automatically converts in to 0.02. I tried using "Decrease decimal" and "format cells" option and even through uninstalling office and reinstalling a different version but the problem still continues.

View 2 Replies
View Related
Apr 4, 2008

I have received an excel file from an external source. Every time I change a number in a cell it reverts to a 2 decimal number. eg. I type in 8710 and it converts the value to 87.10. I have looked at the number formats, cleared the numbers format but I keep getting the same result. I have also e-mailed the file to someone else and everything is ok on their computer. Is there a property in the excel program that I need to change?

View 3 Replies
View Related
Nov 11, 2008

I have a spread sheet with over 200 numbers like 3.3, 4.5, 6.6 and so on. Is there and easy way to convert them to Percentages?

View 2 Replies
View Related
Feb 25, 2009

I'm trying to clean up a very large list of last names. Only one individual cell, but that cell includes numbers, decimal points, and spaces inbetween the numbers. All I want left in the cell is the last name. I have just under 100,000 to do! How would I go about this? Using Excel 2007.....

View 2 Replies
View Related
Nov 10, 2009

How do I convert hours into numbers and/or decimals?

Example:

Column A Column B

---------- -----------

30:05:00 to 30.05

26:10:00 to 26.10

262:47:00 to 262.47

Figures under Column B refer to info that I would like to get.

View 4 Replies
View Related
Mar 17, 2009

I use a worksheet full of formulas to know what divisors a number have, but i need to see what numbers have no decimals in about 500-1000 cells. Is there a formula whitch computer can use to see if it shows a number or not (if a number have or dont have decimals)?

View 2 Replies
View Related
Apr 22, 2014

I've got a spreadsheet that's basically a large list of numbers, both whole and decimal. For example, let's say this is in cells A1-A5:

4

0.65

1.34

3

8.2

Is there a formula to get rid of all of the whole numbers but leave the decimals? (What I mean by that is I don't need 4 or 3 as they're whole, but I need the decimals to be left alone).

I know it's probably a really awkward question but I have over 2,000 lines to go through, it will take a long time to do manually.

Perhaps if it's not possible to a formula to delete entries, maybe just make all whole numbers say something like "NO", so that I can sort the column in A-Z order and delete all of the 'NO's quickly by highlighting them all together.

View 5 Replies
View Related
Sep 8, 2009

I need a cell to restrict the input:

-Only numbers are allowed.

-No date posible.

-Any amount of decimals (they must all be shown in the cell).

I tried using the data validation and using the IsNumber() to restrict any non numeral input. The problem with this approach is that if the user enters a date; it apprears as a date format (eg: "5.May"). I'm using an european excel, where the decimal separator is a comma instead of a point; so if a user accidentaly types "5.5" instead of "5,5"; the cell will show "5.May".

I also tried the cell format/number/number format. The problem in here is that I dont know how many decimal positions will the input number have; and I need them all to be shown.

View 7 Replies
View Related
Jul 12, 2012

I'm using excel 2003 and have a problem regarding some code.

Dit(a, b) = "=" & Hit(a, (d - 12 - e) + f) & "/" & (Pro & ".NrE.sol")

Where "Hit(a, (d - 12 - e) + f)" can be numbers with decimals.

When I run the code the result is nothing, unless the number is a number without decimals.

If I use just "Dit(a, b) = Hit(a, (d - 12 - e) + f)" it shows the right number.

View 2 Replies
View Related
Oct 29, 2008

I am trying to convert Degrees Minutes & Decimals of a minute (12° 34.567') to Degrees and decimals of a degree (12.57611°). I have the formula to convert latitude, that is two digits, but it doesn't want to work with longitudes, three digits. (see attachment). This is the formula that I am using:

=IF(A2="","",(INT((LEFT(A2,3)+MID(A2,4,6)/60)*100000)/100000)&"d")

View 2 Replies
View Related
Oct 20, 2008

I have a list of data, 7 coumns x 4000 rows with integers in them. b2:h4173

I would like to write a forumula(e) which will tell me which 3 integers appear in the same row most often.

View 9 Replies
View Related
Nov 12, 2005

I have an excel sheet sent from an outside vender thich has a hidden character (') at the beginning of all text fields. I need an easy way to remove it so I can use that text for Vlookup on my sheet. The sheet from vendor is huge so doing it manually is not an option. I have tried the Clean function but that doesn't work.

View 9 Replies
View Related
Nov 18, 2006

I am having trouble getting the lookup functions to work with some mixed data containing text and numbers.

I have a 16 digit part number from which I am extracting the ninth character with the MID function. This character may be a number or a letter. I have a lookup table to determine what the description for each number or letter means. For example:

1 Apple

2 Banana

3 Peach

A Grape

B Cherry

If the MID value is 3 I want to return "Peach", B would return "Cherry", etc... The VLOOKUP function I am using works fine if the character returned from the MID function is a letter but gives #N/A if it is a number. The lookup table is sorted properly.

I have attached an example file.

View 5 Replies
View Related
Sep 17, 2009

The solution below to look up numbers in an array formatted as 10 characters as text.

=VLOOKUP(TEXT(A1,"0000000000"),LOOKUPTABLE,2,FALSE)

This has worked well except now I have received the data and the text I want to lookup has been reformatted (previously leading zeros) to the number with trailing spaces, still a total of 10 characters but the above formula no longer works. Is there an easier workaround other than using "Find" to locate the position of the first space.

View 9 Replies
View Related
Jun 27, 2012

Basically I'm trying to look up a series of numbers against a separate row of numbers and look for a match regardless or number order.

For example

If you look at the above picture I'm trying to do a query of some sort that will look up the numbers in A8:G8 in then search each row in the above table ie look for the numbers in B1:J1, B2:J2,B3:J3 etc I need to be able to search each row and look for the sequence of numbers regardless of order, if there is or inst a match for all numbers it should look at the next row and so on (maybe multiple matches). If there is a match then it should display the Name located in column "A" into cell G8. In this example to Jarrad row contains the numbers located in A8:G8. If there is no match it should display "None".

I'm trying to find any easy way to do this as I have over 500 rows I'm trying to query. The number's in A8:G8 in this example could also be more or less, ie here I have included 6 numbers but this could be 3 or 9 etc.

View 2 Replies
View Related
Nov 27, 2008

I have a spreadsheet on a weekly data with diferent reference names

e.g.

101

101

101

105

105

101

101

109

109

114

114

101

101

what I want is a formula to lookup the numbers from above and only extract a number once

e.g

101

105

109

114

View 9 Replies
View Related
Jan 5, 2007

I am given a number say 155 and want to find out which range the number falls in. For example there are ranges like 142-151,152-161, and 162-171. I need a function that tells me my number 155 belongs to the labeled range 152-161.

View 9 Replies
View Related
Apr 5, 2006

I have a worksheet(Shed) and the range where numbers will be entered are B3:E46. In another sheet(Location) I have a in column A "Shift #", B "Shift Bus #" C "Location". what I am attempting to do is when a bus number is entered into Shed! ie.. b3=900, d15=350 etc.... Location! would lookup ie.900 in the Shed! and match it to Location! (column B) and from there provide the cell ref in column C. So I could then print Location! that would give me in Shift # order where each Bus # the shift is assigned to.

View 13 Replies
View Related
Apr 16, 2009

I have a spreadsheet, in which I need to lookup invoice numbers from a raw data file with ~5,000 line items on a daily basis. The lookup is based on two criteria searches (1) search product type (2) search product make. In this example, I have 4 product types:

1 – car

2 – truck

3 – boat

4 – motorcycle

For this example I want to search invoices; (1) first search for cars only (2) search for product make. In my attached example, the first item (cell E2) would return invoice number 7147875-FRD from the raw data file. The second item (cell E3) would return invoice number 7147877-NSN.

View 2 Replies
View Related
Jul 17, 2014

I am creating a graph with a wide range of values (0.06 - 300). The smaller values are barely visible on my column graph. I have tried all of the tricks I know. Any way to get the smaller values to show up instead of just hovering towards the bottom of the graph?

View 9 Replies
View Related
Oct 14, 2009

I am trying to get an exact ratio in excel but am unable to do so. Example:

60,000/58000 = 1.03. The ratio should then be 1.03:1. But excel is showing this is 1:1. Here is my formula

PHP

=TEXT(E55/E56,"0")&":1" . I need it to show it to two decimals.

View 2 Replies
View Related
May 23, 2014

I have some problem when I would like to sum only positive decimals on userform, I would like to separate the numbers with comma (",") and sum them, the format should be "0,0" and only numbers and "," can be given in textboxes. How should I do this?

View 3 Replies
View Related
Dec 16, 2009

i am looking for some formula to round off a decimal number

e.g. A1=8.288

if I use the formula ROUND(A1,2) the result is 8.29.

But I am looking for a result 8.288. That means it shoukd not round off rather the after decimal we should have only two numbers.

8.288 should be 8.28

27.4627 should be 27.46

View 6 Replies
View Related
Feb 4, 2007

i have columns of prices in 2 decimal format that I'd like to manipulate, some prices are whole dollars(no cents & no decimals ) and most are dollars and cents in decimal format-- but to do it successfully, i need the decimal removed. I looked at the "format" function but it doesn't seem to allow for that.

is there any way I can have these prices converted to "cent" format( ie removing the decimal, where applicable), showing them not as "dollars & fractions" but as "cents" i'm sure that would solve the problem for me last time I did it by hand and vowed there had to be an easier way!

View 9 Replies
View Related
Mar 30, 2007

I am trying to put together a code so that when a user enteres more then two decimal points in the cell value they should get a warning regardless if they formatted the cell to show 2 decimals or not...

Simply the problem is on the sheet I have a lot of people format the cell to show two decimals but when you copy and paste the cell values to other sheets the decimals are still there which causes problems.

I am intermediete in VBA so if someone can shoot me some example codes I think I can make it work on my sheet.

View 9 Replies
View Related