Symbols For General Number And General Letter

Aug 7, 2008

I'm trying to make an excel formula that generalizes product names based on their format. So the general format would be XYZ08/T13. I know a ? is equal to a general letter, but is their a symbo that specifically means letter or number. I'm running into problems using the ? because the formula ends up identifying additional items that are not products as products.

Formula Converting Time To General Number?

Mar 13, 2013

Looking for a formula to convert time (00:00:00 AM) to a general 4 digit number (0000). Example 08:30:00 AM ---> 0830. Tried using format cells but no luck.

I was able to convert a standard number to time using the following formula: =TIME(INT(H2/100),MOD(H2,100),0)

Type A Number In A Blank Cell With The General Format

Aug 10, 2009

My excel recently the General number format so that when the general number fomat is used and I type a number in a blank cell with the general format, the number is always divided by 10.

E.g., I enter "102", the number is automatically improperly converted to 1.02.
However, if I enter "=102", the number is properly entered as 102.

How can I reset the General format to the original setting without this divide by 100 problem?

Date Format Error - General Number Field

Feb 18, 2013

I have a spreadsheet with a column full of dates

I used the formatting wizard to make all dates the format of dd/mm/yyyy but, now, when I put a date in the column it throws up a number '41313' instead of a date, even if I manually input the date in the same format as above.

Also, I have tried to turn cells back into general number fields, but this doesn't appear to be changing it back to a date format..

There are HUNDREDS of dates I might have lost if I can't get them to start showing as dates again!

VLookup Formula Is Not Working With General Number Values?

Nov 14, 2012

I have a vlookup formula: =VLOOKUP(TRIM(C101),Sheet2!\$A\$1:\$B\$500,(2), FALSE)

It is not working with General number values. Why is this? Is there something I should add?

The formula works if I swap columns to one with text or if I include text in the column.

Compare General Number To Date - Display Based On Criteria

Apr 29, 2007

I would like to create a formula that compares a number in one cell to the dates I have displayed in two different cells. If true, then I want it to display the Currency value from another cell.

______A________B________C________D_____
|1| Due Date | Amount | 1/01/2007 | 1/15/2007
|2|___4________\$98_______________________

A2 is the DAY it's due
B2 is the AMT that is due

I can create an IF...THEN statement where if A2 is >= C1 BUT less than D1 then the value is B2, BUT it only works if I change A2 to an actual date which means i have to change it every month...which would not help with forecasting future transactions. So in the example above, the value would be in C2 and not D2.

Sum Cells With General Format

Mar 12, 2009

I have a group of cells in E2:E4 that are 144.00 in, 240.00 in, and 72.00 in and are formatted as general.

I get these values when I export data from an AutoCAD program to Excel and I want to sum these values to get the total length.

I want to sum the three values and have the result be the same (i.e., ###.## in). The number of values can go to 30, so I need a simple line of code, =SUM(???)

Import Csv As Text Not General

Feb 17, 2007

I need to be able to open or import a csv file and have the data be seen as text, not numbers. I can export programming from a phone system as a csv file, modify it and import it back into the phone system. some fields such as "seconds" are in the format 00. Excel sees it as a number and converts it to 0, which causes an error when I try to import again.

I have tried changing the csv to txt and copying it to a blank worksheet and then recording a macro using text to columns, but each export can be laid out differently, so a fixed array doesn't work. there can be over 100 columns so doing it manually and changing each column to text can be quite tedius.

Quick General Loop Optimization

Jul 31, 2012

Let me first quickly describe the workbook setup. I have a main workbook ("Fees") that acts as a master list for every employee's clients' account numbers. Every month, 30+ workbooks get downloaded from 3rd parties that have the client account numbers, as well as their current account value.

My macro- Loops through every employee's worksheet within the Fees workbook, and loops through every account number. It then compares the account to every account in every other open workbook. Upon a match, it pulls the account value back into the main workbook. After it finishes looping the Fees workbook, it starts to loop every open workbook, and checks every account value against every account in the Fees workbook. If it doesn't find a match, it prints the value on a Missed worksheet within the Fees workbook.

The situation- I know for a fact this a verrry slow way to go about what I need to accomplish. I am very new to writing code, and gladly can take the extra minutes to let the code execute to know 100% nothing was missed. Going forward, I would like to start trimming execution time without jeopardizing the 100% accuracy of my slow macro.

The question- Based on how I execute my loops, what is likely to trim the most time for the range lookups? I have no practical experience with Vlookup, but I understand that is a possibility I should look into. I'm vaguely familiar with Match, and arrays, and I believe they could also trim time. I also realize there are probably at least 15 other ways to go about it I am not even aware of.

Dd/mm/yy Minus Yymmdd (formatted As General)

May 17, 2006

I use the first six numbers of a SA Identity number to calculate the age of a person as these six digits are actually the year (yy) followed by the month (mm) followed by the day (dd), I am born 01 September 1962, and therefore my first six digits are 620901.

Assume the figure 620901 is placed in Cell A1

Now, in another cell, say A4, I have a future date, but this value is formatted as dd/mm/yyyy. Assume this value to be 01/10/2017.

Firstly, I'd like to know How old I AM at that date and secondly, just because I am battling so, how old I will be on my next birthday, because adding the figure 1 to a total has never been so useless - it just doesn't work! I tried adding all sorts of numbers for months and days in a year but there was no consistency.

So here is my question: Simple - how do I get this to work?

On 1/10/2017 I will be 55, or turning 56 At Next Birthday. I have the following function that gives the answer of 55, but not 56 ANB even after 1 additional year is added to the function (the cell is formatted as yy):

Cell A6 Function = A4-DATE(LEFT(A2,2)+1900,MID(A2,3,2),MID(A2,5,2))

Also, ON my birthdate, 01/09/2017, it says that I am 54, and it has to be wrong because I would have turned 55, unless the function uses time and not just the actual date somewhere. On the next day it does, at least, see me as 55.

how to add calculate what my age will be AT MY NEXT BIRTHDATE for any given date in A4?

General Excel Search Tool For All The Functions?

Jun 30, 2013

Is there any excel-addin which offers function in which you could search any excel function (not just formula) so that you could access any function in a seconds, just like google desktop search for windows.

Right now you could use quick access for most common functions you use and shortcuts for functions in different group. But if there is universal search for all the functions, it is going to be faster for any access!

Excel Column Filled With Word General?

Oct 28, 2013

I just had an employee come to me and ask to take a look at his Excel spreadsheet. One of the columns auto filled the word General all the way down. I tried to do a find and replace but it did not work. Then I tried to just delete the cell and noticed that the text disappears when you click into the cell. This "ghost" text is frustrating me and I can not get it removed

Fraction Formatted As General Not Letting To Do Calculations

Apr 28, 2012

Below is a sample. I was given a spreadsheet and it contains fractions formatted as General. I need to do a calculation based on the fractions. Example there is a number in A1 lets say 3 and a fraction formatted as general in a2 1/216 and I need to multiply A1 * A2 but obviously I get a value error. If I go to another sheet and format the cell as a fraction then the multiplication works. My spreadsheet is full of the general formatted fractions.

A1321/2163 4 5 60.0138888897 8#VALUE!Spreadsheet FormulasCellFormulaA6=(A1*1/216)A8=A1*A2

Sep 20, 2006

For each account i download there are hundreds of pages of journals and entries, in the header of each page is information such as currency, the entries do not have have the CUR code (ie AUD, USD,CAD etc)

What i need to do is;
1. copy the CUR code to each entry line so that when i sort the data i have the CUR code to each entry

2. Copy the data to a "master" spreadsheet in it's unique tab if Column A begins with N and M.

Automatically Format Date Cell As General

Jan 8, 2007

I have a cell that is constantly being changed from a date to a number. Excel automatically formats the cell as a date when a date is entered but if I re-enter a number it leaves the format as a date.

Is there anyway to automatically change the format back to general if a date is not entered.

I had this bit of code obviously it dosent work.

If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("E8:E46")) Is Nothing Then
If IsDate(Target.Value) Then
Target.NumberFormat = "d/mm/yy;@"
Else
Target.NumberFormat = "General"
End If
End If
Cancel = True

Adding Numbers In HH:MM Format To Give General Total?

Feb 5, 2014

I need to add some HH:MM values to give a total general value, its for a staff rota, i need total values for the hours worked per day/week.

eg. three 8 hour days in 08:00 format to give a total of 24

How To Avoid Replace From Changing The Datatype From Text To General

Apr 18, 2013

I am trying to find a way of replacing a whole amount of data, over 1000 items, initially each cell contains this >>> 056001 Not Set, I am trying to remove 'Not Set', but the big problem I am facing is that Excel also removes the leading 0 or zeroes, when it finishes removing ... I tried several things, like changing the column to Text, and then paste the data from another column, because I read the Text format is preserved, nothing, as soon as the column is pasted it changes back to General, if I change it back to Text again, and then apply a Search and Replace, each cell is changed to 56001, which is not what I intended, the only way I have seen it works is if I manually remove the string, then it works and is changed into the text format and number as text, as I intended to

Converting General String Month To Date Format?

Jan 18, 2013

I have a cell which says November , 2012 in General format

In the next cell i want a date of the following month . Eg : 1-Dec-2012.

I tried =DATE(RIGHT(G4,4),LEFT(FIND(",",SUBSTITUTE(G4,",",",",1))),1)

Convert Serial Date Time To General Format

Jul 28, 2007

I use software that exports date/time stamps in the format of: MM/DD/YYYY hh:mm:ss.s
I like to keep the data in this general format so that we can keep it consistent and it can be useful to others using other software.
I recently had to do some date/time stamp manipulations where I added 61 days to a dataset because the data was erroneously set to a diferent calendar. (Still don't know how that happened but it isn't relevent to this issue) When I set up a formula to add 61 days, it appears that it automatically converted it to the excel serial date/time format before adding the 61 days. Now I have a column of data that is mostly general format but has this portion in serial format. How can I get the serial format changed back to general so that the entire column is in the same format?

Excel 2010 :: How To Reset Workbook Default Format To General

Jan 25, 2011

Using Excel 2010 - I have a large workbook with multiple worksheets - been using it succesfully every day for a long time. All of a sudden every empty cell, and any cell not specifically formated in every worksheet has a default cell format of Time. Any new workbook created is OK.. defaults to 'General' - But, if I add a new blank worksheet to this particular workbook it defaults to 'Time' format. How did the default cell format for this workbook become set to 'Time' from 'General' and how do i fix it?

Turning General Numbers Into Time And Minutes And Multiplying For Month

Mar 3, 2014

I run a report from a scheduling software that gives me the total hours and minutes for a weekday for my bus routes. For instance, 253 hours and 23 minutes for one day. Now though, I need to calculate how many hours and minutes for the entire month. The report will only come out with 253h23. I need to somehow take that, turn it into time and then multiply it by 20 (January weekdays). But I need real hours and minutes and I'm having trouble getting them.

Macro: Paste Cell From Specific Files To 1 General File

Aug 17, 2009

i have about 80 files that all have the same structure. I also have a general excel file that I need to fill with values from each of the 80 files. I'd like to use a macro that can be applied to each of the 80 files at a time (or at the same time, if that's possible) so I can copy the cells (only the text, not the formula) I need from each individual file to the general sheet.

e.g.,
each file is:

xyz 123
abc 456
ghi 956

I need to copy the "123" to a cell in the general sheet, "456" to a different cell in the general sheet and so on (to be able to choose which cell in the general sheet I am copying to).

Keeping Ending Zeros In Cells Formatted For Text Or General?

Nov 14, 2012

Is it possible to keep ending zeros in cells that are formatted for Text or General?

I have a column with numbers like the following: 264400

I need to format this number for three decimals so it will look like the following: 264.400

I need the column to be formatted for either Text or General. Currency breaks a system.

Excel 2010 :: Removing Comma From A Cell Formatted As General

Mar 10, 2013

I have a set of data that has a company name using commas to separate INC and LLC from the company name. e.g. Acme Explosives, LLC

I'm using Excel 2010, and when I try to use the find/replace functionality to find commas, I get an error message saying "We couldn't find what you were looking for. Click Options for more ways to search.

Short of editing all the fields manually (only about 300, so not too bad), I'm hoping there is a simple way to replace these commas with nothing.

Excel Changing Format From General To Text During Macro Execution?

Jul 25, 2013

I have a procedure that allows me to view and make changes to data in a table. I list the current values for the item in one column and use simple formula to copy that value to another column where if there are changes that need to be made, the formula is simply overwritten. The Macro is then selected using a command button and the formulas are all overwritten using copy/paste values to keep from writing out the formula to the data table. These values are then all written back to the data table, current values are overwritten with whatever is in the update column, new data or old data.

I have one cell out of 48 that has decided to march to the tune of a different drummer. The format changes from General to Text and the formula written from the macro is what shows up in the cell instead of the value of the formula. Never a big disciplinarian, I have to wonder if I have been too lenient on the cell and this defiance is the price I have to pay.

The sheet is protected only allowing entry into the cells available for update.

Here is the bit of code that affects this cell (starting from a format of General:

Code:
Sheets("Product Data").Cells(ItemRow, 3).Value = Sheets("Update").Cells(6, 8)
Sheets("Update").Cells(6, 8).FormulaR1C1 = "=(RC[-6])"

I just don't see anything that would change the format, and these are the only two lines that even reference cells(6,8).

I tried to set the format for the cell from within the Macro, but with the sheet being protected, it just dumps me out to my error message.

Change Cell Format From Custom To General Or Text And Keep Cell Value

Aug 22, 2013

Is it possible to change cell format from custom to general or text and keep the cell value

I have this in formula bar: 16/08/2013 4:37:00 AM
which is displayed in the cell as: 16/08/2013 4:37

I want to change the cell format to general but display the same information.

Macro Or VBA - Search General Format Convert To Date Format

Oct 26, 2012

Every month, I have an import a report to a spreadsheet. At my column A, it supposed to be a date format.

For some reasons, I have a combination of a few cells of date format and a few cells of general format with no order at all.

What I need is: Search in the A column, if date format leave it , if not change from general to date format.

Macro To Change Date Format To General Format

Oct 17, 2012

I have two columns where there are dates (e.g. 11/05/2009) in a date format; I would like to change the format to `general`; but without losing the original values, i.e. I still want to see 11/05/2009, but just in `general`format. Is it possible to create a macro that will do that? I want these values to stay in the same place, i.e. if it is in cell K10, I still want to have it there - just in other format.

AutoFill Destination - General Way To Specify Destination Range

Apr 14, 2013

I want to fill all a column bottom-up but without specify cells in format "A1500:A2" like

VB:
Range("H1578").Select
Selection.AutoFill Destination:=Range("H2:H1578")

{H1578 have a formula so...}

I have data in the first 7 columns, with a variable(Range) for the first 5 columns

VB:
Dim oRange As Range
Set oRange = ActiveSheet.Range(ActiveCell.Offset(0, 0), ActiveCell.Offset(89, 4))

{The first cell in it is A1}

My question is : How to fill Range("H2:H1578") using my ''oRange'' variable?

I try with OffSet but my code didn't work. I need to do the same with the 6 columns to the right and then plot in a chart.

Convert General Format Into Date Format?

Mar 23, 2012

How we can convert any data which is in General format in to date format.For ex I've:

19/03/2012 14:57 (General format)

I want the output/result

19-Mar