Converting From Kilos To Stones And Pounds
I'm trying to write a spreadsheet that compares body weights for older people in the UK who are not at ease with metric figures. I've searched the board and have come up with several answers, but they don't seem to work for me.
For instance, cell A1 is kilos, and I'd like that weight in stones and pounds in cell A2. What I've come up with for cell A2 is this:
=ROUND((A1*2.2046)/14,)&"st " &ROUND(MOD((A1*2.2046),14),0)&"lbs"
This works for, let's say, 90.8kgs in A1 (answer: 14st 4lbs), but if I enter 87.6kgs, for example, I get an answer of 14st 11lbs. I think it's something to do with the "ROUND" function but I'm struggling. Any help would be much appreciated. Thanks.
By the way, for non-Imperial weight people, multiplying by 2.2046 converts kilos to pounds, and there are 14 pounds (lbs) in a stone.
View Complete Thread with Replies
Related Forum Messages:
Formula To Subtract Pounds & Ounces
I need to build a spreadsheet that subtracts from a cumulative weight recorded in pounds and ounces. For example, in a fishing tournament, a person has 5 fish to weigh. They place their fish one at a time in a bag hanging from a digital scale that reads in pounds and ounces, and record the cumulative weight as the fish are added. We want to know what the total weight is of all 5 fish, but also what the individual weight is of each of the 5 fish.
The easy way to do it is to place the first fish in the bag and record the weight, then place the second fish in the bag with the first fish and record the cumulative weight of the 2 fish together. Continue this until all 5 fish are in the bag, and record the final total weight.
Then, to get the weights of each individual fish, the first weight is as it is, the second fish weight would be Cumulative Weight recorded for Fish 2 minus the weight of Fish 1. To get the weight of Fish 3, you would subtract the Cumulative Weight for the first 3 fish from the Cumulative Weight of the first 2 fish, and so on.
Weight of the Bag with:
1 Fish: 1-lb 2-oz
2 Fish: 2-lb 14-oz
3 Fish: 5-lb 6-oz
4 Fish: 9-lb 7-oz
5 Fish: 11-lb 9-oz.
We can subtract the cumulative weights to determine the individual weights of each fish added to the bag and know that:
Fish 1 is 1-lb 2-oz
Fish 2 is 1-lb 12-oz
Fish 3 is 2-lb 8-oz
Fish 4 is 4-lb 1-oz
Fish 5 is 2-lb 2-oz
Easy to do in my head, or on paper, but not so easy to do in Excel because it's pounds and ounces, which is how the digital scale reads out. But, when you're doing this for 20-30 fishermen, it's not that easy to do it on paper.
Sum Of Pounds And Ounces For Fishing Tournament
I need a spreadsheet to calculate the sum of pounds and ounces. Example
3 fish caught weighing 5lb 8oz plus 3lb 8oz plus 2lb 8 oz = 11lb 8Oz.
This calculation is when the weigher has a scale that measures in OZ.
I also need a spreadsheet that will take a scale that measures in 10ths to add lb and 10th and give a result in lb and oz?
Converting Hh:mm:ss To AM
I am working within Excel and am hoping to convert from A LOT of columns containing hh:mm:ss to AM at the end, however I am unsure of a fast / efficient way to do this. I am using MS Office Excel 07....
I am currently exporting data into excel. The data i am exporting comes in the form of hh:mm:ss. When i export it into excel...everything appears fine. I am also using the data to generate charts. I have multiplied the values by 1440 in order to show as minutes for the charts.
When i import the data to excel and the hours value is bigger than 24, for some reason excel converts it into totally different figures. The minutes caluation (*1440) still works fine, but i need the actual hh:mm:ss to be correct, not amended by excel. Is there a way to do this. Ex. Data imported: 74:51:03 in hh:mm:ss - excel coverts this to 02:51:03.
Converting 50% To 1.5
I have some code where it prompts you to enter a %, and then it calculates if the Lst Wk Sales > Avg Wkly Sales + %.
box2 = InputBox("Enter % increased by Sales")
ActiveCell.FormulaR1C1 = "=IF(RC[-111]>RC[-121]+" & box2 & ",""YES"",""NO"")"
The problem I have is that excel treats the formula as +50% rather +1.5. Can anyone help me around this issue?
Converting 10.27M To 10,270,000...
The issue is that there are six types of "numbers" in the table that I am trying to turn into all numbers. Obviously, I'd like to turn the Ks in 1,000s and the Ms into 1,000,000s:
If there weren't all six, I think I could fix this pretty easily, but as it is I'm pretty stumped (other than a manual fix).
Converting To .Exe
I was wondering if you can convert a program you have made on excel into an EXE. I then wanted to give trial period evaluation copies out, plus secure the program to a specific PC.
Converting Date To Day
I am currently converting a date in column "A" to a day in Column "B"
Columns("B:B").NumberFormat = "dddd"
Range("B3:B" & lrow).Formula = "=A3"
can someone please advise what code I need to make the day stay as text only in column "B"
If I do a copy / paste special for column "B" and change it to text it reverts to the number of the date.
I would like it to stay as the day,eg, Monday, Tuesday, etc.
Converting Time With VBA
I have a spreadsheet that automatically inserts the colon into time entries (2123 converts to 21:23), my problem is that the VBA doesn't recognize single minutes (i.e. when when a time is entered from 12:01am (0001 or 01) until 12:09am (0009 or 09)). When entered I get a "Run-Time error '5': Invalid procedure call or argument"
Converting Many Tabs To One!
I have a PDF document that is one single table but it is long so it takes up 30 pages. When i convert from PDF to Excel (Using a converter) it gives me one tab per page I.E. 30 tabs.
I need to do calculation on the data, and need them on one page. Is there a way to merge tabs, or a macro that will do it for me?
Converting Formula To UDF
creating a formula that would convert a string like 63008 (Mdyy format) to a format that Excel can read as a date
In other words IF(the length of the cell value is 5, parse the date this way, otherwise parse it another way)
If I2=63008, this would output 6/30/2008
I want to convert this to a function since that formula is rather tedious to type out, but I am new to Excel programming
Converting Date Getting #VALUE
I have an export from a database application in which I have thousands of dates. The dates are not in a date format (normal problem) so I wrote a formula to convert them as follows.
Original Date in A1 : 11/13/2008 This is mm/dd/yyyy
Formula : =VALUE(MID(A1,LEN(A1)-6,2)&"/"&LEFT(A1,LEN(A1)-8)&"/"&RIGHT(A1,4))
Result : 13/11/2008
This seems to work at first, until I looked more closely. If I change the date I am converting so that the date in cell A1 is 11/12/2008, ie. the dd value is less than 13, then the formula no longer works. It is fine for all values over 12.
All I get in these cases is #VALUE!
Converting From Access
I am trying to convert An Access macro/function programs to Excel and I am having trouble processing the following in Excel:
Set rsbuildinforce = CurrentDb.OpenRecordset(InfTable)
(InfTable) is defined as an Access linked table name. The values of columns in rsbuildinforce drive the logic of the macro/function
The object of the program is to read in data from excel, do some manipulations, reformatting, etc... and output .csv files.
Converting Web Imports
I have created a Workbook which uses imported data from a web page on a daily basis.
I require a macro code so daily and once only Imports done every day according to the variables in Sheet 3, I hope the code can reference from.
The data has date and times and the most important aspect the date is within the URL.
Each day is the same URL but with new current date.
The format for that date within the URL is: [url] ..
Converting Time H:mm To Dec
I'm having trouble converting Time to Decimal
8:00 1:00 AM8:00 AM
8:00 1:00 AM8:00 AM
1:00 7:00 AM7:00 AM
Using CellRef * 24 only works for Columsn B and C
For some reason, it only recognizes cols b and c as Time.
The "AM" only shows when you click the cell, and it is displayed in the formula bar. When clicking a cell in Col A, there is a trailing space, ie: "8:00 "
Tried a couple things but couldn't get it to associate col A with time, besides manually removing the trailing space from each row. Using Trim() does not work.
im working on making a price list from a pdf file. however, the pdf file has the prices in euros listed as 1.300,00 and 765,00 and 45,00 and 1.565,00 . i was wondering if there was a tool or so in excel that can change the comma and periods in the number so they read as american format like 1,300.00 and 765.00 and 45.00 .and also if there is a formula or so to convert these numbers to Dollars in another column.
Converting String To Int
I was wondering if it was possible to do something like this:
x = 15
test = "x"
with the message box saying "15" instead of "x". I guess more specifically what I want is:
x = 15
test = Range("A5").Value 'Range("A5").value = "x + 2"
MsgBox (test) 'I want "17" to be outputted
Is this possible? Somehow convert the string test into an integer and read the variable?
Converting Number To Time
I am trying to compile data from several different managers within my company. They all have similar workbooks, and have been entering time in a number format. Currently they have values that look like this:
However, the data should appear as this:
So, in any instance the period or decimal point should be a colon and the format of the cells should be in [m]:ss.
I want to be able to select a range within the workbook and run a macro that will convert the numbers into the "[m]:ss format.
Converting Decimals To Hrs & Minutes
How can I show a decimal as time. For example an item takes 13 minutes to make and I want to make 50, thus using 6.5 hours but really, the 0.5 hours is 30 minutes therefore, I would like to show 6:30 but Excel gets to 23:59 and goes back to 0:00.
CONVERTING Data From One Column To Another
WE have many spreadsheets with 1000's of part numbers that need to be converted--- currently the spreadsheets have data in B1 and B2 (part number and description), B3 and B4, and so on--- we need to be able to take B1 and send it to A2, so the part number and the description then end up on the same row--can anybody help this Excel novice convert this data??
Converting Time To Seconds.
I have the below macro. It is used to translate time to seconds (i.e. 0:20:04 minutes to 1204 seconds)
This works well, but i just want to know 3 things.
First, can the new data (seconds value) be added to new worksheet (worksheet 4) of the workbook the original data is taken from, instead of a whole new workbook?
Second, can this be done without having to save the original workbook first?
Third, (Im sorry i know this is VERY simple) but this macro is part of a larger macro, and i just want to know the code to hide the screen updating as the macro is running.
Application.CutCopyMode = False
Selection.TextToColumns Destination:=ActiveCell, DataType:=xlFixedWidth, _
FieldInfo:=Array(0, 4), TrailingMinusNumbers:=True
Converting To Octal Then Summing
In this sheet I keep measurements of my customers, however these measurements are in base 8 as the measuring tape I use is only in 1/8ths.
In the attached file, how do I convert the #'s in columns C,E,F,H,& I to base eight? (i.e. a 28.8 should show as 29.0)
Once these are converted, how do I sum in base 8?
Converting Text To Time ....
I have a column (R) that is formatted as text. Each cell represents a time in military format.
How do I convert the values in the column to be in 00:00 (hours:minutes) format instead of text?
For instance, 1200 is the value in R2. I want it to show as 12:00.
I tried the following:
1. Create a new column (S)
2. Format the new column (S) as 00:00 format
3. Copy cell R2 (whose value is 1200) and paste into S2.
Result: S2 value is the same (still 1200). Formatting in the S2 cell changed from 00:00 format BACK to text format upon me pasting.
So I tried and changed it BACK to 00:00 format, and I get 0:00 as the new value in cell S2. Also, the function bar shows "4/14/1903 12:00:00 AM" for cell S2. I need a formula for this apparently,
VBA - Converting Data Layout
I have a workbook where employee scheduling is done on a monthly basis in 15 minute intervals. It is laid out like this:
The times go from 8 AM - 8 PM, and all of the cells within the range B3:AF51 are drop downs with the employee names listed. They are conditionally formatted so that we can easily see who is scheduled to work when, and on what days.
The problem that I have is that I like this layout for inputting the data because I can see it all very clearly, but it is not good for archiving or saving past months data. I want to be able to take that view and change the format so that it can easily be summarized in a Pivot Table for all of the historical information.
So, I need to take the date and time and format both of them into a column, put the client name (will be the sheet name) in the next column, and then the name of the staff that worked during that time.
From there I can take a completed month, and quickly run some code to make the change, and add it to the historical tracking where it is all summarized.
Converting Text To Date
I have few dates in column C. My Column B is blank. I want to convert all text in column C in proper date format in Column B.
The dates entered in column C is in this format 05.11.2007 (dd.mm.yy format) Is there any formula to convert it in proper dates in same which will show the date in 5-Nov-2007 format?
Converting Text To A Number ..
I need to convert some text to a number. I was wondering if there is a way to do it in Excel. Like, for example, the date 3/14/2006 can be converted to 38790. Is there any function in Excel that can convert a word to a number?
Example would be (numbers are totally random)
md_bla_bla_02 would convert to something like 3452615261502
Converting Table To List
I am wanting to manage my inventory and need to convert spread sheets with tables specifying style, size color to lists with skus specifying style, size color. please see attached spread sheet with one sheet with table and second sheet with list.
Converting Text To Values
i am having a problem here,i Have got two columns one for item name other for item quantity.the quantity field has data like:
i need to calculate the total of all the cells like the first has sum 12,second has 10 ,fourth has 5 .Now i can get the sum by simply putting a " = "
in the start of the cell but the problem is that ive got 8000+ cells putting = manually will kill me.
Converting Strings To Dates
converting text strings to dates.
The dates I have imported into a spreadsheet are of the format:
I use code to convert it to this format
But with some of the dates, I get
11/5/2008 whereas with others, I get
However, if I recorded a macro the date format appears as
11/5/2008 for all the dates.
But the code is excatly the same, if I
For Each celld In Range([e1], [a1].End(xlToRight))
If celld.Value Like "*DATE" Then
On Error Resume Next
Also, how do you convert strings to dates using VBA?
I thought DATEVALUE performed this function but keep getting errors when i try using it.
Converting Non Standard Dates
I'm a moderate user of excel with some experience but need help creating a specific if statment.
I have a column "A" that shows dates formated like this: 060115 (January 15, 2006). Because excel does not recognize this as a valid numerical date I need column B to show what year the date falls under. To complicate it I need it to reflect a seasonal year from April 1 YYYY, to March 31, YYYY.
So here's an example. Say I have a date in column "A" of 050612 (June 12 2005). I need column "B" to look at that date and determine if it's >040105 and <033106 and return a result of "2005". I then need the formula to calculate an answer for up to 5 years worth of returns.
how to set up this type of =IF statement?
Converting VB To VBA- Trying To Convert The Program
I've just begun a C&G in VB for work even though at work we use Excel, I'm trying to convert the program we did this week so that it works in Excel. Basically I want to click on the Font button and have the font dialogue box come up and let me change the font in the label (if the checkbox is ticked), hope it makes sense, this is what I have but it doesn't work and I cannot work out why.
Converting Date Value To Day Of Year
I have several excel files with datevalues as the timestamp (column A). I would like to add 3 more columns after the timestamp and display the following (derived from the datevalue):
column B -> Day of Year
column C-> hh:mm
column D-> ss.0
how do I split an excel datevalue into Day of Year, hours and minutes, and seconds? Which formulas do I use?
Converting A Number To A Date
I have a column of numbers that are currently text, but they actually represent a date.
I had a column of dates, but needed to convert them into a "week number", so used this formula: =INT((A2-1)/7)
It produced a week number for each date, and produced results like 5594, 5595, etc.
I now need to "reverse" this, and take these numbers (5594, 5595...) and convert them back to actual dates.
Converting Column To Rows
I have a excel spreadsheet that is setup as follow:Johnson, Ashley0916BF00001U9/16/2009Test1POSITIVE0916BF00002R9/16/2009Test1POSITIVE0916BF00001U9/16/2009Test2NP0916BF00002R9/16/2009Test2NP0916BF00001U9/16/2009Test3NP0916BF00002R9/16/2009Test3NPBlack, Tom0517BF00012R5/17/2009Test1POSITIVE0527BF00003R5/27/2009Test1NEGATIVE0601BF00009R6/1/2009Test1NEGATIVE0517BF00012R5/17/2009Test2NP0527BF00003R5/27/2009Test2NEGATIVE0601BF00009R6/1/2009Test2NP0517BF00012R5/17/2009Test3NP0527BF00003R5/27/2009Test3NP0601BF00009R6/1/2009Test3NP
First column is in goups: First row of each group contains customer's name then followed by test codes. Test codes are usually repeated three times per customer but they have different names (listed in third column as Test1, Test2 and Test3) and different results (listed in 4th column as POSITIVE, NEGATIVE or NP).
What I want to do is to convert this data into a way that each row has One customer name and the columns in front of each customer lists Tests results and dates. If a customer has multiple test codes, then one row to be created for each test code.
Customer NameTest 1 DateTest 1 ResultTest2 DateTest2 ResultTest3 DateTest3 ResultJohnson, Ashley9/16/2009POSITIVE9/16/2009NP9/16/2009NPJohnson, Ashley9/16/2009POSITIVE9/16/2009NP9/16/2009NPBlack, Tom5/17/2009POSITIVE5/17/2009NP5/17/2009NPBlack, Tom5/27/2009NEGATIVE5/27/2009NEGATIVE5/27/2009NPBlack, Tom6/1/2009NEGATIVE6/1/2009NP6/1/2009NP
Converting Numbers To Letters
We are doing a database conversion and I have been tasked with converting all our old promotion codes to a new system. The long and the short of it is this:
I am trying to write an equation that will look at two cells (say A1 & B1) which when put together could be one of the following numbers (01,02,03,04,05,06,07,08,09,10,11,12) and translate them to a letter (A,B,C,D,E,F,G,H,J,K,M,N)
So 01=A, 02=B and so on...
I was trying to use if statements, but there are too many.
Converting Hours Into Minutes
I know similar questions have been asked in the past, but I can't seem to get this to work for my specific case. I need to convert hours into minutes, and these times do not conform to a 24 hour clock. For example, I need to convert 1000:15 into 1000.25
Converting Dates To 8 Digits
I have dates being imported (AS TEXT) to excel in various formats and want them all to appear in their cells in the same 8 digit format (MMDDYYYY) so it can be exported to another program
Single Digit Month and Day
cell A1: 3179 (convert to 03011979)
cell A2: 30179 (convert to 03011979)
cell A3: 030179 (convert to 03011979)
cell A4: 311979 (convert to 03011979)
cell A5: 3011979 (convert to 03011979)
cell A6: 03011979 (already correct)
Single Digit Month and Double Digit Day
cell A7: 52165 (convert to 05211965)
cell A8: 052165 (convert to 05211965)
cell A9: 5211965 (convert to 05211965)
cell A10: 05211965 (already correct)
Double Digit Month and Single Digit Day
cell A11: 12523 (convert to 12051923)
cell A12: 120523 (convert to 12051923)
cell A13: 1251923 (convert to 12051923)
cell A14: 12051923 (already correct)
Double Digit Month and Double Digit Day
cell A15: 112180 (convert to 11211980)
cell A16: 11211980 (already correct)
Converting A Word/Value To A Number
I am creating a review sheet/skill matrix using excel and need to be able to convert a particular selection to a number in the adjacent cell to work out the users efficiency (long story that i wont bore you with)
So basically i have a question/statement in cell A and a drop down answer menu in cell B containing up to 5 possible answers (very poor, poor, ok, good, very good). In cell C i would like to insert a formula that allocates a number dependant on the selection in cell B. So if the user selects very poor in cell B cell C states 1, if cell B has poor selected then cell C states 2 etc etc