# How To Format Numbers To Show Actual First Digit

Aug 5, 2013
How do I format numbers so it will show the actual first digit, and the rest as x?

so that $1,234.56

will appear as $1,xxx.xx

or alternatively,

$1,234,567.89

will appear as $1,xxx,xxx.xx

I would prefer to do this with custom formatting rather than VBA,

(this is so I can generate sample reports for prospective clients, without showing the real numbers in the tables)

View 1 Replies
ADVERTISEMENT
Apr 3, 2008

I know you can take a number from one cell and combine it with number from another cell and make it one number. What I need to do is the reverse. Take a two digit number in a cell and separate it into single digits in two cells. If you have the number 50 in a cell, then is there a formula that will take the 5 and put it in cell and take the 0 and put it in the cell beside it?

View 4 Replies
View Related
Aug 29, 2007

I have a number format that I need assistance with:

The number format I need is 1234-000 or 1234-001

The normal number format is 1234-000, very rarely does the 1234-001 be used. So I would like the number format to left fill the left section 1234 and right fill the right section 001.

View 7 Replies
View Related
Apr 12, 2012

I have a range which has conditional formats based on other cells. I want to copy this range into another sheet and retain the current formats as fixed formats without copying the conditional formulae. ideally in VBA.

View 5 Replies
View Related
Feb 4, 2009

See xls file. I have this chart and the data labels are percentages instead of the actual value. How did these get that way? Under Chart Options there is a autotext box that is there but if I uncheck it, the data labels go back to the actual dollar value and that autotext box goes away.

I am totally baffeled by this despite serach the help, the internet and this forum. I am sure it is something easy I am missing.

Can some one provide some color on this?

I cut this from a larger book with many tabs because I am not able to send out the entire thing (proprietary).

View 6 Replies
View Related
May 1, 2008

I have weekly budget report (for the entire year) that I put in a Pivot Table with approx 20 different row labels. The actual revenue numbers come only once a month (several different reports make up the actual revenue numbers). I need to put the actual numbers on the same row as the budget numbers and I can't figure it out.

For example, for the first three months of the year, I have the pivot table showing everything perfectly. In February, I get January's actual revenue numbers that now "replace" the budget numbers for January. If this was a regular table, I could easily overwrite these numbers, but with the pivot table, I can't get these two fields to line up. For now, I have the Actual Revenue numbers on the Rows above the Budget numbers for their respective months/quarters.

View 6 Replies
View Related
Oct 6, 2008

how can i convert a column of hyperlinks that i have to the actual addreses. for instance, i may have in one cell ebay that would link to "www.ebay.com". i would like the cells in a column, or if not another column to display in text the actual addresses and not the word, if that makes sense. can i do this via worksheet formulae or is it in the realms of vba?

View 2 Replies
View Related
Jan 30, 2009

Is is possible to get a dropdown list to show the actual characters as they appear in windings or marlett as shown in the source? When I try I am just getting a load of u's with accents and dots above.

I am trying to do this without using a macro.

View 2 Replies
View Related
Mar 12, 2013

This is what I need:

Columns B, C, D & E are all populated with 3 digit numbers.

I would like column F to automatically populate with any of the 3 digit numbers that share two numbers, i.e.

F2 might look like this (using 00 as the pair):

001, 040

F3 might look like this (using 01 as the pair):

701, 051, 110, 001, 120

F4 might look like this (using 12 as the pair):

123, 721, 281, 912, 112, 120

etc...

View 1 Replies
View Related
Aug 5, 2009

I have set up a simple form in excel, whereby people use drop down menus to select the appropriate information (as all data inputted needs to be entered in exactly the same way to allow sorting, counting etc) so I thought drop downs were best. The trouble is the data is carried through to my excel database (on another worksheet) were it is shown in numeric values dependant on how far down the drop down list the select item appears (ie "Fareham" is third on the list, so shows in the database as "3").

I'd very much like my database to be easier to read and actually show Fareham etc, rather than be populated with lots of numbers. I initially tried using IF function (ie =IF(C3=3,"Fareham") but unfortunately two of my drop down lists are too long for this (with 25 and 33 entries respectively).

View 4 Replies
View Related
May 6, 2009

I work in the flooring industry and the format we use for cuts of carpet/vinyl is 40-3 (for 40.25 feet), etc. So we are trying to create an excel spreadsheet that will add up these cuts. Right now it's kind of a mess because we have decimals in a column we will be hiding and are converting that to our industry format.

The formula I am having trouble with is as follows:

=MID(A18,1,FIND(".",A18)-1)&"-"&MID(A18,FIND(".",A18),3)*12

The problem is that whenever the totals end in zero, the formula won't convert 40.00 to 40-0. It gives me an error every time. If the total is 40.25 it will convert it to 40-3 just fine.

View 7 Replies
View Related
Jan 15, 2014

I have two Columns of 4 digit numbers (24 hour clock format). I need these numbers to be in Time Format. Formatting the Columns or even individual cells seems to do nothing.

1238 as 12:38 etc.

These numbers are acquired using VLOOKUP

I have attached a copy of my file, The numbers in question are on sheet "iCalender" 8th sheet accross.

Columns "start Time" and "End Time"

Time Format is Compulsory so that I can upload to a .ics Web Converter. Of which is currently failing for this reason.

5th January 2014 - Copy.xlsm

View 13 Replies
View Related
Aug 30, 2006

Is there any way that I can have a column of cells change the entered 4 digit to a time format? E.g. when somebody enters 1212 in a cell it will automatically convert the entered numbers to 12:12

View 9 Replies
View Related
Feb 21, 2014

I have a column that contains 4 digit numbers that I want to convert to a text value. Here is my example

Number Text Value

7004 RBPA

7002 DCVA

7001 PVBA

.....etc.

There is a total of 10 different number values. I want to include the conversion vba into an existing macro that is performing other functions on the spreadsheet.

View 1 Replies
View Related
Jul 16, 2008

I need a way to display all 8 digit numbers that have the digits 1-8 in them. (ie. 12345678 but NOT 12345679 OR 12345677) Also If I could somehow divide by 13 then check for whole numbers

View 14 Replies
View Related
Dec 9, 2008

I have a spreadsheet with 1000's of 3 digit numbers and each one has a underscore in front of it.

HOw can I remove the underscore from each of these 3 digit numbers without doing a find/replace on each different number?

View 3 Replies
View Related
Mar 22, 2009

using Excel 2007, windowsXP, and am trying to find the right formula for the following problem.

I have a column of 3 digit numbers, and want to determine how many times a number occurs in the first position ie: 123 the second position ie: 123 and the third position ie: 123 in the entire column of figures?

View 9 Replies
View Related
Oct 24, 2009

I wanna create a buildin check digit for container numbers

so it will exists out of 11 cells. ( GATU 021097-9 )

is it possible when u type any letter/number in the first cell on a row it automaticly jumps to the next cell, repeating this for the full container number ?

View 9 Replies
View Related
Mar 25, 2004

I have a spreadsheet, with about 1,500 lines. In column A is a list of numbers that I need to remove the last digit from each number, for example in A22 is 02602726521 - I need this to be 0260272652. The numbers are all uniqe.

How can I remove the last digit from every number, without going in manually to do so?

View 9 Replies
View Related
Jul 16, 2007

Is there any way changing general four digit number into hours and minutes?

I have almost 31000 rows of imported data, showing arrival and departure times with four digits (dep 2130, arr 0130) without colons and I need to subtract dep from arr to get block hours. Is there a way to add colon to multiple cells or some other solution to my problem?

Adding colon to 62000 cells one by one does not sound that good to me.

View 7 Replies
View Related
Feb 19, 2014

I am trying to write a function that will give me the amount of time a certain number shows up in the same digit place in a large set of numbers.

For example:

111112221233313

111212222233323

111312223233333

111412224233343

111512225233353

111612226233363

111712227233373

111812228233383

111912229233393

given the number set how many times does the number 5 show up in the 4th digit. I know its 3 but for the data size I need to run it on, it is impossible to count.

What function would count how many times a certain number shows up in the same spot?

View 8 Replies
View Related
May 31, 2014

I have a userform for keeping records and would love to incorporate a new feature. I would want to generate a random serial number for each entry made with the userform.

View 2 Replies
View Related
Oct 10, 2008

I've modified this macro I found on this forum, all it does is compares 2 lists of 6 digit serial numbers and and then tells me which numbers are in list 1 that are not in list 2.

However, I want to modify it so that it also gives me the numbers in list 2 that are not in list 1 (put into column F). I then need it to cut the matching serial numbers (in columns A and B) from sheet 1 and paste them into sheet 2.

View 5 Replies
View Related
Mar 19, 2013

modifying the following VBA code; this code auto-generates 4-digit unique numbers, using zero as one of the starting digit as well. I need the 4-digit numbers NOT to begin with a zero, the 4-digit numbers should only begin with numbers 1-9.

Private Sub Worksheet_Change(ByVal Target As Range)

Dim Cell As Range

Dim Test As Integer

[Code]....

View 2 Replies
View Related
Apr 21, 2009

I have a large list of phone numbers & some of the numbers do not have area codes. The area code is the same for all numbers. Is there a way to add the area codes to all of these numbers without keying all in manually

View 9 Replies
View Related
Dec 1, 2009

In one column (f5:F100) I have five digit numbers that represent a persons code. I have five groups of codes, they are 10000-15000, 16000-19000, 20000-25000, 26000-29000, and 30000-40000. In another column (Column H) I have an "X" saying the are qualified in something.

I am looking for how to write a statement that says answers this question:

How many people are qualified in the codes between 10000-15000.

Ultimately I am going to take this number and divide it by the total number of people in the group to get a percetage of qualified people in the group.

View 9 Replies
View Related
Jun 22, 2014

I have a column that has section numbers like 001.002.006.003.010.011.002.

I would like to divide that single column into seven columns with only the single or double digit in it, ie

1 in a cell

2 in a cell

6 in a cell

3 in a cell

10 in a cell

11 in a cell

2 in a cell

Have been using MID and FIND togther, but when I get to the double digits like 10 an 11 I run into problems.

View 3 Replies
View Related
Oct 15, 2009

I get a spreadsheet every day that has a column of numbers that contains dates that are not in a date format. Is there a way to convert these numbers to a date format? The numbers come from an outside source so I can't modify on the front end. look at the attached spreadsheet with representative data of what I'm trying to ccomplish.

View 2 Replies
View Related
Nov 27, 2009

My company uses 4 types of barcodes 8, 12, 13, & 14 number barcodes for our products my problem is that I can't figure out how to force the barcode to format properly no matter how somebody enters it if they don't use spaces or put them in the wrong spots, I can't use custom formats because there is 4 different layouts

8 digit should be "#### ####"

12 digit should be "###### ######"

13 digit should be "# ###### ######"

14 digit should be "# ## ##### ######"

these barcodes are in columns L, M, & N also right now 'm using a formula in another cell to verify the barcodes by calculating the check digit and comparing it to the check digit typed the formula i'm using is

View 9 Replies
View Related
Jun 13, 2014

How to calculate a check digit in excel. The details to calculate this are as follows:

All variables in the calculation are positive integers.

We take each integer of the pro number and multiply it by a value and sum them to get a total.

An Example: 8 Digit Pro Number: 66988757

Pro Number: 6 6 9 8 8 7 5 7

Position in the Pro Number: 1 2 3 4 5 6 7 8

Multiply each digit in the pro number by (10-position) in the number, to achieve a sum.

Using our example pro again:

6*(10-1) + 6*(10-2) + 9*(10-3) + 8*(10-4) + 8*(10-5) + 7*(10-6) + 5*(10-7) + 7*(10-8)

6*9 + 6*8 + 9*7 + 8*6 + 8*5 + 7*4 + 5*3 + 7*2

54+ 48+ 63+48+40+28+15+14 = 310

Take the Sum of the previous calculation and divide it by 11

310/11 = 28

(Actually, it's 28.181818, but since we're working with integers, we truncate everything behind the decimal).

Figure a remainder by multiplying the quotient by 11 and subtracting from the sum.

Remainder = 310 - (28*11) ---> Remainder = 310 - 308 ----> Remainder = 2

Check Digit = 11- Remainder

Check Digit = 11 - 2 ---> Check Digit = 9

Note: if the check digit is 10 or 11, need to subtract 10 from the Check Digit.

View 3 Replies
View Related