number format

  1. C

    IF Statement HELP!?

    I hope that one of your Excel Geniuses can help me out with this. I have a master product file spreadsheet. When I exported from my Content Management System into a CSV file it created one column to designate the categories each product has assigned to it. For example, "Product A" falls...
  2. S

    In-cell (not VBA) formula to define number format

    Are there any built-in functions which allow me to define a custom number format as a parameter? Failing that, is there any way of creating a user defined function that contains a "format_number" parameter in the same way that the TEXT function has a "format_text" parameter? I have a large...
  3. S

    Conditionally format a number format

    Can I conditionally format a number format? For example, I have a worksheet that has several numbers that update, and one of the fields is a format field, i.e. $, %. If the format field is $ then I want to format the cell as a number, if the format field is a percentage, then format as a...
  4. D

    Stop special format 0000 from being changed to a Zip code

    I'm trying to set a cell to accept a 4-digit number that may have leading zeros. I've set Numbers - Special Formatting to "0000" but Excel changes it to be a postal zip code from Portugal. Any idea how to keep it from using an existing formatting when I want to use a custom special formatting?
  5. J

    Pasting an array of dates in a particular number format

    Hi everyone, I am extracting data from an external program which is extracted as the string below...
  6. U

    Format numbers while printing csv

    hi, I'm trying to create a csv file. Is there any way to keep the same figures format as in the initial excel file when printing the csv or shall we define the format of every column in the loop(and how)? Actually in the excel file, some columns contain figures that must be formatted as...
  7. B

    Round to nearest whole number and paste resulting value

    Nevermind
  8. M

    Data in cells is "text" instead of "number"

    Hello! I'm beginning to lose my mind on this problem. :mad: I made a reasonably complex form, where user (me) must insert a lot of data in (mainly) TextBoxes and ComboBoxes: I wont' bother with translation, but some of you will maybe recognize that I'm trying to calculate heat loses of a...
  9. B

    Stupid formatting OCD

    This is going to be a n00b question but it's bothering me and I can't figure it out without wasting more time. I have a cell with a UPC code, ex- 781052055704 I want to take another UPC code of the same length and put it in the same cell, separated by a comma. This is what I want...
  10. R

    VLOOKUP Oddity

    I'm using VLOOKUP to match across 2 very simple tables of data: First few rows of TABLE 1 are: <TABLE style="WIDTH: 200pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=266><COLGROUP><COL style="WIDTH: 60pt" width=80><COL style="WIDTH: 140pt; mso-width-source...
  11. F

    US Dollar sign in a cell

    I've got a macro which copies data from one sheet in one workbook into another sheet in the same workbook based on certain criteria with formatting changes applied: Sheets("Sheet1").Select Range("J" & CStr(LSearchRow)).Select Selection.Copy...
  12. B

    if statment based on cell format

    I am trying to select the cells that meet a couple of criteria, the value has to be greater than 0 and formatted as currency. I have tried the following with no success. Any suggestions? If cell.Value > 0 And Selection.NumberFormat = "$#,##0.00" Then 'do stuff End If
  13. J

    Keep trailing zero with VBA

    Hi, A value in a cell is "3,500". I convert all to text format and then remove the quotes. Removing the quotes causes the last zero to disappear, so the cell now contains: 3,50 Worksheets(gs_sheet).Range(sRange).NumberFormat = "@" 'text Worksheets(gs_sheet).Range(sRange).Replace What:=""""...
  14. E

    text determines value

    Hi all, New to the forum and also Macros. I am trying to write code to make a cell default to a negative value based on the text of another cell. For example: if the cell states "EXPENSE" then the offset(0,1) will be a negative figure when the numbers are entered into that cell. Any help...
  15. C

    Keep date as a number

    <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/>...
  16. M

    custom number formating in excel cells

    Hi Everybody, Does anybody know if it's possible and what is the synthax for in the automatic format cells menu to : - force excell to align the sign - to the right close the number before ( -9.5 instead of having (- 9.5) - Automatically put a + before positive numbers (+9.5 instead of...
  17. I

    Number format in Excel drop down lists?

    I have 2 list of numbers in a drop down list in a cell in Excel. The problem is Excel does not allow me to "type in" these values from the keyboard for the list that has numbers (but I'm able to type in the list that has "names"). I'm guessing this is because lists are "text" by nature in Excel...
  18. D

    Number Format in VBA

    How can I display a number as 123.45 to 123. If number is 123.50, display as 124. I just want to display whole number.
  19. T

    Number format in userform

    I have a userform and when you click the "Okay" command button, my spread sheet is populated with the numbers from the form but I can't get the number format correct. I've tried cell(x, y).number = so on and so forth but it doesn't work. I believe it's populating as a "General" entry in the...
  20. D

    SSN and phone numbers not formatting

    I have columns of ssn and ph numbers that are not responding to special or custom formatting. Any ideas why? I am using 2007 and the file sent to me is Excel 2003 if that makes a difference. I am very new to Excel and can use all the help I can get. Thanks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top