Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check if data is inputed.
I have a user entering data into a cell then that data is used through out
the page, but if the user does not enter any data into a cell all the other cells get ### entered onto them. The user does not need to enter data into every cell, only the ones he needs. How can I do it so that instead of showing ## it shows nothing just a blank cell? I would think it would be an if then but not sure how. The data the user would enter will always be 0-9 only. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check if data is inputed.
Assume the cell where the date is entered is A1:
If IsNumeric(Range("A1") = True Then 'Your regular code here Else 'Exit Sub? End If "Albert Mulder" wrote: I have a user entering data into a cell then that data is used through out the page, but if the user does not enter any data into a cell all the other cells get ### entered onto them. The user does not need to enter data into every cell, only the ones he needs. How can I do it so that instead of showing ## it shows nothing just a blank cell? I would think it would be an if then but not sure how. The data the user would enter will always be 0-9 only. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check if data is inputed.
This is what need and have tryed
Checking if Cell "N10" = a number if true =SUM(N10-N9) ELSE Change Cell "N17" to Blank Cell Code: =If IsNumeric(Range("N9") = True Then =SUM(N10-N9) ELSE =CELL(N10=" " ) Error... What would the correct code be? Thank you! =If IsNumeric(Range("N9") = True Then SUM(N10-N9) ELSE =CELL( ) "JLGWhiz" wrote: Assume the cell where the date is entered is A1: If IsNumeric(Range("A1") = True Then 'Your regular code here Else 'Exit Sub? End If "Albert Mulder" wrote: I have a user entering data into a cell then that data is used through out the page, but if the user does not enter any data into a cell all the other cells get ### entered onto them. The user does not need to enter data into every cell, only the ones he needs. How can I do it so that instead of showing ## it shows nothing just a blank cell? I would think it would be an if then but not sure how. The data the user would enter will always be 0-9 only. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check if data is inputed.
I am not sure what you meant by SUM(N10-N9). If you meant subtract N9 from N10 Then put this formula in N17. =IF(ISNUMBER(N9), N10-N9, "") If you meant to add SUM(N9:N10) then use this in Cell N17. =IF(ISNUMBER(N9), SUM(N9:N10), "") "Albert Mulder" wrote: This is what need and have tryed Checking if Cell "N10" = a number if true =SUM(N10-N9) ELSE Change Cell "N17" to Blank Cell Code: =If IsNumeric(Range("N9") = True Then =SUM(N10-N9) ELSE =CELL(N10=" " ) Error... What would the correct code be? Thank you! =If IsNumeric(Range("N9") = True Then SUM(N10-N9) ELSE =CELL( ) "JLGWhiz" wrote: Assume the cell where the date is entered is A1: If IsNumeric(Range("A1") = True Then 'Your regular code here Else 'Exit Sub? End If "Albert Mulder" wrote: I have a user entering data into a cell then that data is used through out the page, but if the user does not enter any data into a cell all the other cells get ### entered onto them. The user does not need to enter data into every cell, only the ones he needs. How can I do it so that instead of showing ## it shows nothing just a blank cell? I would think it would be an if then but not sure how. The data the user would enter will always be 0-9 only. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Inputed Interest / Present Value | Excel Worksheet Functions | |||
only allow one cell inputed for a range of cells | Excel Discussion (Misc queries) | |||
Wanting to link inputed data to a paragraph on a different sheet | Excel Discussion (Misc queries) | |||
Looking to copy a worksheet with all formats and formulas without coping inputed data | Excel Discussion (Misc queries) | |||
VBA: Return Searched Value Inputed by End-User | Excel Worksheet Functions |