Concatenate Formula Not Taking Decimal Places/currency Sign
i have lets say a table with rows that contain the following data.
SKU  PRICE  SALEPRICE  DESCRIPTION  SALEDESCRIPTION
What I am trying to do, is to make a concat formula that says:
SALEDESCRIPTION = DESCRIPTION+price was+PRICE+now+SALEPRICE
In essence so that i can simply pull down the formula, and all our product descriptions have 'special offer, was xx (price) is now xx (sale price).
This works fine, except that in the SALEDESCRIPTION, the amounts from the price and saleprice fields are being brought over without decimal places and without currency symbol.
I have tried formatting those two columns as currency or accounting but neither works.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Currency Format With 4 Decimal Places
I have a problem with the currency format with 4 decimal places. Sub go() Range("C5") = Range("C5") + Range("C4") End Sub as you can see it adds the conecnt of "R4" to what is in "R5" If works fine when the calls are formatted as number with 4 decimal places. example if R4 is 0.1111 and R5 is 0.2222 after running the macro R5 becomes 0.3333 But if the cells are formatted as currency and 4 decimal places the then excel returns $0.3300
View Replies!
View Related
Concatenate And Decimal Places
I am facing a problem with Excel's Concatenate function. I am trying to make a text string with numbers from a cell. =CONCATENATE( "price paid= ", D23). D23 is a numreric cell, formatted for one decimal place. However, the text produced by above function is showing me two decimal places of the number in D23.
View Replies!
View Related
Number Showing Extra Decimal Places In Formula Bar
If you look at the attached file in Column E line 47 you will see that it displays 373.97. However if you look in the formula bar it shows 373.9694. I am trying to make it so that the formula bar shows the same number as in the cell. Any idea on how to do this? I have tried everything I know how to do, which is not much.
View Replies!
View Related
Paste Two Decimal Number In Excel Without Extra Decimal Places Appearing
I have a vba macro that takes data from one workbook and pastes it into another workbook. In doing this I have declared a few variables of type single (I only need two decimal precision). However, when I copy the values from the cells on the source workbook and paste them into the target workbook, the numbers end up having 12 decimal places. Ultimately, this extra precision causes my totals to be off by .01 or more after a while. I have tried rounding the number as I pull it off the source workbook into the variable, but that didn't matter. How do I solve this problem? Code for pulling data from source workbook:...
View Replies!
View Related
Currency Sign
I have a very frustrating problem with my business plan i am writing in Excel. every so often it crashes and when I open it again all the £ signs have turned to $ signs and i have to go through and painstakingly change them all. This also happens even if I just close the file carefully and open it up again. I have tried looking in preferences to see if there is a default setting but can't seem to work it out. can anyone help me with this tiresome issue?
View Replies!
View Related
Currency Convertor ($ Sign Doesn Not Appear)
I have a spreadsheet with cells defined as Euro & Dollars. I want to add an automatic conversion so for example, if a cell is defined as $ the formula will return the sum X 4 and if it is Euro than sum X 5. I tried to use "if" combined with "search" (so if the cell contains "$" multiply by 4) but since the cell is defined as currency the $ sign does not appear and cannot be searched…
View Replies!
View Related
How To Separate The Currency Sign From The Number
I have a file contains thousands of rows of purchasing order. the purchasing value is in different local currency,the data(number) format is "Accounting" . Is there a way to separate the currency sign and the number into different column? I need to the currency sign to be able to convert data to desired currency. But Excel read the data as number. so I was doing it row by row. Such a pain and not efficient.
View Replies!
View Related
Consistent Decimal Places
Is it possible to apply some kind of formatting to a range, that will force all numbers entered into that range to have the same number of decimal places as the cell with the maximum number of decimal places?
View Replies!
View Related
Fixed Decimal Places
Everytime I enter a number, excel automatically converts it to a decimal number. I type 1 in a cell (or formula box) Excel returns the value as 0.1 I think it may have to do with the FIX box highlighted to the bottom of the screen. (To the right side of the NUM lock). (I can't paste a screen dump to show the FIX box position). how to remove the FIX box, and/or change excel so that I can enter in numbers normally.
View Replies!
View Related
Round To More Than 30 Decimal Places
I'm trying to work out a formula in excel which requires me to use Pi to over 30 decimal places. Excel will only let me have 30 decimal places of Pi whether I copy and paste it as a number or use its Pi function and even then seems to round up. Is there any way I can get more than 30 decimal places for this calculation? If not in excel then can anyone suggest another programme that may be capable of this? You can post here or contact me at [email=" Deleted by Jack in the UK[/EMAIL]
View Replies!
View Related
Decimal Sign Replaced With ';' Sign
I'm trying to solve a strange problem in a piece of code. I have a variable that is define as Double called STD. When i try to insert that variable in a formula the decimal sign (for me a comma "," because I'm Portuguese) gets converted to ";" (which is for me the separation sign for the expressions in excel formulas. ex: AND(A1>0;B1>0)=TRUE). The code is:
View Replies!
View Related
Formatting Of A Cell To 2 Decimal Places
if I change the formatting of a cell to 2 decimal places, it appears as two decimal places (as it should) for example $88.88888 will show as $88.88 However, when I use this data in another application that displays this data it will display as 88.88888 still. I need to actually take the value and truncate it to 88.88 eg 8.8888888 will become 8.88 I have been using trunc by hand and wanted to try and find out if there is a way that I could write some sort of macro to do this for me each time.
View Replies!
View Related
Converting Units And Decimal Places.
I have a simple spreadsheet that allows the user to enter a dimension in metric or inches. I want to display the other units in the adjacent cell. In cell A1, the units are "Metric" or "Inch" in a pull down list. In cell A2, the value is entered. In cell A3 i want to show the value in the other units. So if A1 is Metric, then take A2 and divide by 25.4. And if A1 is Inch, then take A2 and multiply by 25.4. Also, if A1 is Inch, then display 2 decimal places in A3, and if A1 is Metric, then display 3 decimal places in A3. Is this possible?
View Replies!
View Related
Show As Many Or As Little Decimal Places In Any Cell
I am doing some calculations via Excel, and I have found that I get different results using a calculator. I know that by formatting the number, I can show as many or as little decimal places as I like in any cell, but can anyone tell me how many decimal places Excel actually uses when it's carrying out calculations? I have a feeling that the Excel results I'm getting might be more accurate than my calculator ones.
View Replies!
View Related
Fix Decimal Places On Entry
I am creating a Daily Cash Count worksheet for a business to do their daily closeout paperwork. What I am trying to do is automatically apply decimal formatting to a cell. Examples, if they count 60 cents in nickles and enter 60 in the cell, it automatically converts it to .60. And if they count 7.50 cents in quarters and enter 750 in cell it automatically would convert it to 7.50.
View Replies!
View Related
Add X Decimal Places To Numbers But Not Zeros
I have a column of numbers with one decimal point and some blank entries too. I need to convert all the numbers (including the zeros, but not the blanks) to two decimal points. Any idea on how this can be done? Examples: 0.1 needs to become 0.10, 0 needs to stay 0, a Blank cell needs to remain Blank.
View Replies!
View Related
How To Type In 2 Decimal Places In 1/4 Hour Display
I have to change a time sheet that was previously in HH:mm to display in decimals, but to the nearest 1/4 hour ( 0.25 (=15 mins), 0.50 (= 30 mins), 0.75 (=45 mins), and 1.00 (1 hour)) This is not a formula question, but a format/display question as the cells have to be typed in by different people who up until now have beeb used to typing in the HH:mm format. This means; 8:15hrs would become 8.25 8:30hrs would become 8.5 8:45hrs would become 8.75 The reason behind the change is a head office wallah that needs to have time in decimals and not true minutes. Is there a way to; prevent user from entering any decimal other than .00; .25;.50;.75 or change formatting to turn red if any other than above is entered. Alternatively, is there a way of me (the collator for 50 people) being able to take data from their sheets (which I have to do monthly) which could be a formula... I have tried to get head office to change, but they say that they collate data for 13 other sites and all the others are OK (thats cos all the others receive their data on PAPER and one person tabluates them)...
View Replies!
View Related
Changing The Decimal Places Without Rounding The Numbers
I was trying to decrease the decimal places of the data figures that I'm currently working on my report, however, it keeps roundingup the decimal numbers. I wish to keep the original numbers and just decrease the decimal places. For example: The original figure is = 7260.12903225806 Upon decreasing the decimal figures to just 2, the result became = 7260.13 Is it possible for me to just have this result = 7260.12 instead of 7260.13? I've tried using the TRUNC formula butit does not work if the 2nd decimal value is 0. For example: The original figure is = 227161.905808985 Upon applying the formula, the result became = 227161.9 instead of 227161.90
View Replies!
View Related
VBA Increase The Decimal Places Of A Cell
Is there a function in VBA that lets me increment or decrement the number of decimals of a particular cell? let's say i got a cell value of 7.123456 but excel only displays 7 on the cell. What if i want excel to display only 7.123? How can I specify the number of decimals i want on a particular cell (in this case 3)
View Replies!
View Related
Restrict TextBox Entries To X Decimal Places
I have following for change event in text boxes to only allow numerics e.g. Private Sub txtGBP10_Change() If (Not IsNumeric(txtGBP10.Value) And (txtGBP10.Value <> "")) Then txtGBP10.Value = Left(txtGBP10.Value, Len(txtGBP10.Value)  1) End If End Sub Private Sub txtShare10_Change() If (Not IsNumeric(txtShare10.Value) And (txtShare10.Value <> "")) Then txtShare10.Value = Left(txtShare10.Value, Len(txtShare10.Value)  1) End If End Sub Can I add some code so that the user can only add numeric entries to 2 DP (txtGBP) or 3DP(txtShare)
View Replies!
View Related
Forcing Decimal Places (wanting NUMBERS Not TEXT)
I am wondering if there is any way to "force" a number to have three decimal places instead of two and still have that number valued as a number for use in formulas later (like AVERAGE, etc.). What I have is a combination of HLOOKUPs, IF statements, and Conditional Formatting. I have a Master Grades sheet and individual Class sheets. I use an HLOOKUP, matching a Student Number in both sheets, and looking in the Class sheet for the P/F indicator. If the indicator is a F, the HLOOKUP is to return the Final Grade from the Class sheet and input that into the Master Grades sheet, forced to three decimal places (whereas the numbers in the Class sheets are at two decimal places) If the indicator is P, the HLOOKUP simply returns the Final Grade from the Class sheet and inputs it into the Master Grades sheet with two decimal places. I have the failure grades forced to three decimal places so that the Conditional Formatting in the Master Grades sheet highlights the failed grades for teachers and anyone else can see right away that a student failed, but the number still allows the Master Grades sheet to calculate the overall AVERAGE for the student as well as the AVERAGE for that class. If any of this is not quite clear, please ask and I can further expand on what I am doing. Here is the code I have right now that is not working correctly (and I know why it's not): ....
View Replies!
View Related
Format Result Of Date Difference To 2 Decimal Places
I use datediff to calculate the difference between 2 dates in Months. Result = Datediff("M", Date1,Date2) I need the result to be formatted to 2 decimal places ie 23.52 (months) Not neccessary to use datediff if this doesnt work. Please note I have cross posted this HERE because I couldnt get connected to ozgrid for some reason, I will montior both sites for a solution and post back results. Apologies for the inconvenience.
View Replies!
View Related
Decimal Places For Close Ties Of Numbers Based On Cell Value
I have a pivot table of values displaying agency's performance based on their sales percentage to target. When the race is 'loose', and all companies are 1 or more percentage point away from each other, I format the values without decimal places. If two agencies appear tied, I add a decimal place to seperate them. Occasionally the race is really tight and I have to increase the format to two decimal places to seperate them. how to do this automatically?
View Replies!
View Related
Use A Macro That Creates Sheets And Places Formula In Cells
I am trying to use a macro that creates sheets and places formulae in cells but the resulting formulae are not what I coded. Here is similar Function CreateSheet(i As Integer) Dim CellAddress As String Set Adjustment = Worksheets("Sheet1").Cells(6, 3 + 4 * i) Celladdress = Adjustment.Address(ReferenceStyle:=xlR1C1) With Selection .Offset(22, 9).Formula = "=Sheet2!B14*Rating!" & CellAddress .Offset(23, 9).Formula = "=Sheet2!C14*K4*Rating!" & CellAddress .Offset(24, 9).Formula = "=Sheet2!D14*K5*Rating!" & CellAddress End With.............
View Replies!
View Related
Formatted Currency Text In Formula
I am in need of a formula. I am subtracting one number from the other and if the result is negative, “Short” otherwise “Add”, I want to use subtracting result in the formula. So for example A1 has 50,000 and A2 has 40000 so the formula in cell A3, should say add $10,000. Or something like this, =IF(A1A2>0,”ADD”,”SUBTRACT”,”&TEXT(A1A2,”$#,##0.00”)
View Replies!
View Related
Unique Fractions To Decimal Formula
I need to find a way to convert the fraction located at the beginning of a text string to decimals. Here is an example of what the cell containing the fraction will look like; 1/420 3A. I need to convert the fraction and save/copy paste the decimal answer to another cell.
View Replies!
View Related
Convert Or Format Decimal To X Digits Without Decimal Point
I am trying to create a unique sample code by putting together the values of other cells that a user will input. It's all working well apart from the last part, where I am trying to include a decimal number. I want the decimal number to appear without the central "." and in a four digit format. e.g. 2.5 would appear as 0250, 14.25 would appear as 1425. This is the formlua I am using currently: =IF(ISBLANK(B4),"",IF(LEFT(C4,1)="w",(B4&""&TEXT(F4,"YYMMDD")&C4&TEXT(G4,"HHMM")),(B4&""&TEXT(F4,"YYMMDD")&C4&LEFT(TEXT(H4,"00"),2)&RIGHT(TEXT(H4,"00"),2)))) However, where the value of H4 is 2.5, I am getting a result of 0303 (I've put this part in bold). I have attached a small spreadsheet to aid understanding.
View Replies!
View Related
Rounding Number In Formula To Remove Decimal
My formula is not rounding properly. Cells I4, J4 and K4 all filter from the results of cell I3 divided by 3. (e.g. 10/3 = 3.333) I was able to remove the decimals in cells I1:K3, but the between formulas (I4:K4) keeps adding the decimal back, therefore this results in errors to my chart.
View Replies!
View Related
Concatenate Formula Amendment
I am trying to merge cells A1:GR1 in to one cell by using the concatenate formula and the copying and pasting the values in to the same cell. Is this possible? I've tried to use the formula below with no luck, =Concatenate(A1:GR1)
View Replies!
View Related
Make Concatenate A Formula
I have a DDE code that returns a stock symbol value. The code is as follows, where @ES# is the symbol: =NeoTickerq!'@ES#,last' I am trying to create a cell so when I put in a symbol (H10), it automatically gives me the quote. So I split up the code and then concatenated it as follows: G10: '=NeoTickerq!' H10: '@ES#
View Replies!
View Related
Concatenate The Number Into A Formula
I need to do a vlookup with the array starting on a row determined in another cell, so I've tried concatenating the number into a formula but this doesn't seem to work. Is there something else that I can do? E2 is 134 =CONCATENATE("=VLOOKUP($B2,$C$", E2+1, ":$F$2571,3,FALSE)") returns: =VLOOKUP($B2,!$C$135:$F$2571,3,FALSE) but not as a formula, as text and I need the formula...
View Replies!
View Related
Concatenate Formula For Numbes (% And $)
I have been able to create concatenate formulas for numbes (% and $), but have been unable to create one that will display a date, I. E. for the number formula, I used, =(A8&" "&TEXT(B8,"$0")). What would be the formual so the second cell show the value as a date?
View Replies!
View Related
Concatenate Strings In A Formula
I am writing a macroI have three variables named "name", " book", and "count". In previous statements these variables have all been defined as String, String, Integer respectively. I am trying to uses all of these variables in the same formula and am encountering issues. The formula I wish to use it in is: ActiveCell.FormulaR1C1 = "=COUNT('[" & book & "]" & name & "!'""B6:B" & count & ")" Where if book = Book1 ; name = "Sheet1" ; and Count = 100 I would want the following result: "=COUNT('[Book1]Sheet1!B6:B100)"
View Replies!
View Related
