Cell Format Just Displays What Is Input

Dec 30, 2008

i have a cell that i have to put a lead time into ( weeks ) ie 7-9 if i type this into the cell it throws up all sorts of things but i want it to display 7-9 trouble is i know i could do ="7-10" but other users use it and wont now that how can i format the cell so it just displays what is input?

View 3 Replies


Format Textbox On Userform So That It Displays As Time?

Jul 19, 2013

Is it possible to format a textbox on a userform so that it displays as time?

View 1 Replies View Related

Change Result Cell Format Based On Input Cell Value

Mar 24, 2007

Macro Based on an input cell’s (e.g. B12) setting of “yes” or “no”, format several other cells (e.g. B20:G20, B23:F23, C26:J26) as follows: keep the existing yellow shading if input cell is “yes”, change to grey shading if input cell is “no”. I would like this macro to run automatically whenever the input cell value is changed.

View 2 Replies View Related

Excel 2007 :: Input Mask To Format Cell Content

Jan 20, 2014

The cell content is to be 0-7 characters in length.

Alpha characters only, i.e., no numeric.

First character must be uppercase.

Remaining characters may be lowercase or blank.

Is that possible to do in MS Excel 2007?

View 10 Replies View Related

Input And Display Data In Cell In H:mm Format Without Changing To Time

Feb 25, 2010

Can i put into the cells B38-AF38, that would display the sum of B20:AF20 + B24:AF24 + B28:AF28 + B32:AF32 +B36:AF36 in a h:mm format.

When imputing the data into a cell in a h:mm format, I need it to display in that cell and formula bar the h:mm format without having to put an apostrophe in front of "h" or ":mm" value. Once complete, this form is going to go to other trainers to use on their computers and I dont think they would remember to keep putting an apostrophe before the data.


B20= 1:15 (1h15m) NOT 1:15:00 AM

B24= :30 (30min)

B28= :45 (45min)

B32= 1:45 (1h45m) NOT 1:45:00 AM

B38= 4:15 (4h15min)

I have attached a copy of the form for better clarification.

It doesnt seem to be complicated, but it's certainly a lot more than I thought.

View 4 Replies View Related

Drop Down Or Some Sort Of Input Cell That Would Change The Look And Format Of The Entire Worksheet

Jul 30, 2009

Is there a way to have a drop down or some sort of input cell that would change the look and format of the entire worksheet? Not sure how to pose the question?? For example.

What I'm working on is a departmental forecast sheet.

I want my department heads to be able to all look at the same excel file, then be able to input or select their department from a drop down. Once the department is selected that would call for excel to bring up the forecast for their specific department (**Each departments sheet is a little different).

View 9 Replies View Related

Displays Date In Actual Cell Value

Apr 3, 2009

I discovered the following Macro (on another site). What I'm attempting to do is make data entry simple by entering a date such as 012209 and have a macro convert the entry to 01/22/09 as a legitimate date field. On entering 012209, the macro displays a value of 09/01/2021 with an actual cell value of 1/9/2021. I expected a value of 01/22/09.

Entering 010109 displays a value of 01/01/2009 with an actual cell value of 1/1/2009. I expected a value of 01/01/09 (I can live with this, just didn't expect a 4 digit year).

View 6 Replies View Related

Cell Displays Formula Instead Of Result?

Jul 24, 2014

I'm working on someone else's spreadsheet, when I type in a formula the cell shows the actual formula as typed, rather than the expected result of the formula, how do Ii correct this?

View 2 Replies View Related

Increase A Cell Value By 1 If Another Displays "yes&quo

Apr 2, 2007

I'm a novice at macros and spreadsheets and a Visual Basic Virgin!!.

I'm trying to work out how to increase a cell (B17) value from 1 through 5 then jump back to 1 and count to 5 again etc etc.

The value should be incremented every time cell B33 ="Yes" however there needs to be a 2nd event which resets the B33 trigger to operate again.
This is when cell B34 shows "New Race"

View 9 Replies View Related

Cell Displays Formula Instead Of Result

Nov 6, 2007


K18 contains the number 54.00, and on Sheet117 cell K18 contains the number 404.00.

Cell A1 displays the formula rather than the result, which should be 458.00.

Other similar formulas I have in this workbook return a result of 0 when I know there should be a significantly higher number. Then, the same formula used to refer to different cells will return what appears to be a proper result.

View 9 Replies View Related

Cell Format: Input The Number With The Letter "A" At The End

Oct 11, 2008

I have a Col where the cells have been formatted to enter "PR" before the numbers input into any cell in that Col. I did this by using the custom selection in the format cell. However some times i need to input the number with the letter "A" at the end. For instance PR123456A.

Now in some cells it lets me do this but in others it does not. It would end up with 123456A, loosing the PR at the front. I have checked that all is well within the custom window. Can any body offer an explanation as to why it could be doing this.

View 2 Replies View Related

Vlookup Displays, If Reference Cell Is Blank?

Jan 22, 2009

I am trying to use vlookup so that when each site name is selected the relevant comments for that site are displayed.

I have a formula that is working, but it displays "0" if there is nothing in the cell. How do i get it to display a blank cell if thre is nothing in the reference cell.

this is the formula that i am using:

=IF($C$4="", "", IF($C$4="No Match", "", (VLOOKUP($C$4,Comments!$A$2:$U$295, 5,0))))

The site name appears in C4, and is selected from another sheet in the workbook.

View 5 Replies View Related

Formula Returns A Result But The Cell Displays A Zero

Jan 18, 2006

I have a simple formula subtracting one cell from another using =SUM(XX,-XX). When I click on fx and bring up the function arguments box, the formula result is displayed correctly in that box. However, the cell containing the formula will only display a zero. I have tried reformatting the cells to no avail. I have also tried getting a result using =XX-XX and that does not work either.

View 10 Replies View Related

Excel Only Displays Formula In Cell But Not The Result

Apr 28, 2012

Often I write the formula in the cell of an excel spreadsheet in vain, it does not work.

Excel only displays the formula in the cell such like = if(B2>2;2;0), and not the result.

Formula is correct, so I don't know why it happens. Most often this occurs when the formula is between worksheets or different excel files on the corporate server.

View 3 Replies View Related

VBA Paste Only Displays One Cell Of Copied Data

Nov 15, 2012

I am trying to pull 4 cells (Q3:T3) from multiple workbooks into a master workbook. When I run the below macro, I only have the first column of the copied data returned, and can't figure out how to have it paste all four cells.

Sub ExtractData()
Dim wb As Workbook
Dim TheFile As String
Dim MyPath As String
Static CopyCell

[Code] ....

View 3 Replies View Related

Cell Displays Text Formula And Not Result?

Jul 17, 2014

=CONCATENATE(B8,C8,D8) insread showing result just stays as text?

cant figure out whats wrong

View 2 Replies View Related

Full Cell Displays Last Words Rather Than 1st Characters

Dec 22, 2006

How do I change the Excel settings to display in each cell as many characters as fit within the allotted cell space?

To elaborate, in previous versions of Excel that I have used, when a cell contained more characters than could be displayed in the size allotted, for viewing and printing purposes, the cell would simply display (starting at the beginning) as many characters as possible. After upgrading, I have found that when a cell contains more characters than can be displayed, it simply displays the last word contained in the cell.

For example if a cell contains "Frederico Gonzalez & Jose Rodriquez", but there is not room to display the entirety of the message, I would like the cell to display "Frederico Gonzalez & Jo", but the way it is currently displaying is "Rodriquez " with a whole lot of empty space afterwards.

This causes a problem, because it is usually not evident that more information is contained in that cell (unless the cell is selected).

How do I change the Excel settings to display in each cell as many characters as fit within the allotted cell space?

View 9 Replies View Related

Format Date From Input Box?

Mar 10, 2012

I have an input box that requires the user to enter a date or accept today's date, which is the default, and when they click ok it is entered in cell "Data!D25". I want the format to be "yyyy-mm-dd". I have set the cell "Data!D25" to automatically use this format if I type the date directly into the cell by typing "yyyymmdd" without the dashes but when they type in the input box without the dashes, the result in the "Data!D25" cell is "############".

How can I correct this?


Sub PrintForms()
' Dim StartRow As Integer
' Dim EndRow As Integer
' Dim Msg As String
' Dim I As Integer


View 9 Replies View Related

Input Box - Collective Format

Sep 22, 2009

I have a userforms (using multipage) with columns of input textboxes for the user to input.

Multipage1. Page1
Columns of data to input are %
There are 4 columns of 10 rows (therefore 40 textboxes)
I have the following code that will format the input to be seen as % by the user and to be treated as % in the worksheet calculations.

Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, _
ByVal Shift As Integer)
Select Case KeyCode
Case 9, 13
Sheets("Sheet1").Range("rate").Value = TextBox1.Value
With TextBox1
.Text = Format(WorksheetFunction.Substitute(.Text, "%", ""), "0.00") & "%"
Sheets("Sheet1").Range("rate").Value = .Value
End With
End Select
End Sub

Do I have to code this for every textbox? Is there an easier way to do so. Can I create a loop or routine that will pass through all the textboxes and perform the above procedures?

Please let me know because I don't want to undertake a cumbersome exercise of programming this code for each and every textbox.

By the way, page 2 of the multipage, will have textboxes for % entries; textboxes for 0.00 entries and textboxes for $0.00 entries. I have similar code as above for the 0.00 and $0.00 entries and again I'm trying to prevent programming unnecessarily if I somehow could find a way to code a loop to pass through common textboxes for %, 0.00 and $0.00 entries.

View 9 Replies View Related

Input In Multiple Cells To Generate Input Into Single Cell?

Feb 22, 2014

I have a spreadsheet with 5 columns. A1 to A5

Entries are made into columns A2 to A5 but only ever one entry across all cells

If an entry is made into A2 to A5 the I need a "P" to be placed into A1

View 4 Replies View Related

Input Box To Create And Input Info Into A Formula Which Then Populates A Cell With A Value

Jul 24, 2014

I am trying to create a macro which gives me an input box. I need to enter 2 numbers into the input box. It would be as follows:

Input Box Msg 1 - "What is your labor cost?" (NUM1)
Input Box Msg 2 - "What is your productivity rate?" (NUM2)

Then I need the macro to take this info and enter it into a formula which changes according to the row which you are on. (I need the macro to work based on which ever cell I currently have selected). The formula would be this if I currently had a cell on row 10 selected:


So, if I currently had cell L10 selected, and I ran the macro and put 100 in for "NUM1" and 10 for "NUM2" and my sheet had 20 in cell H10, then the macro would enter the number 1,000 into cell L10. If I had L500 selected, then the macro would enter the final number into cell L500 based on what value H500 contained.

View 9 Replies View Related

Transferring Of Input From Input Cell To Output Cells?

Jun 8, 2014

I would like to know if it is possible to transfer values of cells this way?

I've attached the excel file for easier reference.

View 3 Replies View Related

Date Format In Input Boxes

Jan 20, 2007

I have designed a spreadsheet to calculate time and speed averages of a ships voyage. When using a date and time value entered into a input box the value in the cell is reversed form the U.K date format to the U.S date format. this has been causing great amount of fustration to me. the cell has the correct date format i want and the excel system is configured to the U.K format. my program to allow you to look at it my knowlege is not very good of VBA. When entering the date in the FAOP from the drop down menu as dd/mm/yy hh:mm in is reversed.

View 2 Replies View Related

Display Decimal Value Input As String Format

Aug 16, 2012

I'm writing a macro that will automatically change the display in a column of cells.

The input in the cell would be a decimal value, (e.g. 1, 1.25, 1.5, 1.75, 2). As of now, I think the only input options are whole numbers and 1/4, 1/2, 3/4 fractions.

After inputting the decimal value, the cell should update to display the value as the following string format :

Input: 1.25
Displays: 1-1/4"

The purpose being to enable fast data entry while displaying in the desired format.

Here is where I know to begin for the automatic update:


Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
Application.EnableEvents = True
End Sub

View 6 Replies View Related

How To Input One Range Into Combobox On Format Controls

Mar 31, 2013

How to input more than one range into the combobox on format controls. Im using the combox to change charts. The ranges are


View 1 Replies View Related

Input Text In Given Cell After Any Input In An Area

Feb 28, 2007

I am just starting to get my feet a little damp with VBA and I am trying to make a macro that will act whenever any text is entered in any cell within a 3x3 square. Whenever any text is entered in any of those cells I would like it to enter a text ( "X" ) in a cell which is specified by a cell in the spreadsheet (this cell will output which cell the macro should write the text in in this format "A:1" or "C:3"). How can I make the program act only in reaction to the user entering thier text, and also, how can I get the macro to read A:1 and enter the text into that specific cell? Any help would be so awesome, the book I have is really difficult to navigate.

View 9 Replies View Related

Format Cells So 24 Hour Time May Be Input Without Colon

Nov 30, 2003

Is there a way to format cells so 24 hour time may be input without the colon, as an example 1425 instead or 14:25? We can do it in Access. One would think it possible in Excel, yet I have not discover how if indeed its possible.

View 9 Replies View Related

UserForm - Keep User In Textbox If They Made Format Input Error

Oct 27, 2012

I have a userfrom with a text box which is used to receive a telephone number from the user. The 'Event' code that checks the formatting of the telephone number is "tbCustTel_Exit". If my user enters a format other than what is acceptable for a tel number, they get an error message telling them to re-enter.

My problem is they still end up EXITING that text box they made a mistake in? How can I override them exiting the text box if they make a mistake - and keep them in the text box so they can try and re-enter the tel number again?

View 6 Replies View Related

Cell Displays Value Below Another Cell

Nov 27, 2006

If the cell above the target cell has formula that equals a specified cell, then the target cell displays the value of the cell below that specified cell.

Example: Same formula for F6 and G8, if...
F5 "=A1", so that F6 displays what's in A2, and
G7 "=C3", so that G8 displays what's in C4
I would also be interested in how the formula changes if the target cell equals the cell above, to the left, or to the right of the specified cell.

View 9 Replies View Related

Formula Displays Instead Of Value!!

Jul 8, 2006

I have tried a simple =CONCATENATE(A1+B1) in a cell and it shows the formula not the value. I have tried

1. Formatting cell to various formats other than text
2. Deleting the Row/Column and adding a new one and trying the same formula
3. Ctrl + ` to show/hide formulas

I dont know why it keeps displaying the formula. Anyone know of a way to fix this?

View 3 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved