Getting A Calculated Cell To Be Blank If There Is Not Data To Be Computed
Oct 25, 2009I am having problem with getting a calculated cell to be blank if there is not data to be computed.
View 3 RepliesI am having problem with getting a calculated cell to be blank if there is not data to be computed.
View 3 RepliesI am trying to blank out Column D if there are no furthercalculations required. As you can see now by the example that I have attached the formula continues the calculation.
View 2 Replies View RelatedI have an excel, in which the user can input values and the sum will be computed for each column (i.e. =Sum (L2:L29)) . I want to alert the user when the computed sum exceeds a particular value, else it shud proceed.
It can also be done at while the save & close of the workbook.
i have a list which is populated with data from another sheet.. if there is no data in the corresponding cell on the other sheet then the cell is blank.. i've tried using:
=OFFSET($Z$2,0,0,MATCH(REPT("z",255),$Z:$Z))
but it doesn't see the blank cells as blank i.e. no data in them as they contain formula's.. (even although there are no values populated) - can anyone offer any help in relation to this???
I created a nice excel file with some cohort analysis regarding the number of months customers of different cohorts stay with a company. Basically I do a little manipulation on the raw sign-up data sheet and then run a pivot on it.
I want to see the cohorts in two ways:
1. number of customers.
2. $ from customers.
I have the first 1 and I want to get the second one without going through the same procedure again (i.e. manipulating the raw data). In order to get the $ terms, all I need is to multiply a $ column in each row in the columns that indicate the number of months that passed since a customer joined (see the attached example file please). When I try to do it with calculated fields in the pivot table, Excel multiplies the total number of customers with total $ from them all put together, which is of course wrong.
Any way to achieve what I want without having to created another data sheet just for $ terms?
I believe the attached excel file: dummy_for_cohort.xlsx
In cells A1, A2, and A3 of Sheet1 I have data. This data is the result of some calculation else where in Sheet1. Nevertheless, I would like to link this data to Sheet2 in cells A1, A2, and A3. Now normally, you can't do this. But is their a way around this error message?
View 10 Replies View RelatedI am entering data for a month on one worksheet. The next month I change the date and reenter new data. I want another worksheet to record the data on a month to month basis, one month in one column, the other month in another column, to have year to date. Is there anyway to do this. Currently, I use an if statment =If(a1="January",b1), but I need to change these to values before I do the next month, and alter the formula to reflect the new month name)
View 11 Replies View Relatedif its possible to place a value (the product of a formula) into a cell ie:
Cell A1 = "a"
Cell A2 = "b"
I would like to be able to say: If A1="a" and A2="b", then place "Yes" into D1.
I realize that =if(and(a1="a",a2="b"),"Yes",0)
placed in D1 would give the same result, but I do not want to have a formula in D1, I simply want the characters "Yes" placed in there.
I am trying to input data validation on a calculated field. The calculated field (sum of 10 fields above it) must not total over 100%. I have used the following in the data validation menu: Allow: whole number. Data: less than or equal to 1
This doesnt seem to be working when I input values of a total greater to 100 from its input cells however, it does return an error if I manually input a number over 100%, then it gives me an error message. Edit - sample sheet attached.
to copy the calculated value of a cell to another worksheet.
I tried =IF('Actual Hours'!D2="*"&"LR"&"*",'Actual Hours'!D2,"")
which when copied down would return values with LR in them, however D2 is a calculated cell (='RAS SENT 2'!L2) so it returns a blank, and I dont want to just reference this other cell instead.
Is there a way to return the value of a cell?
I have a Pivot table.
Layout:
Rows: City, Restaurant, Cashflow
Column: Date (Month/Year)
DataField: $Amount
"City" might be 7 cities
"Restaurant" may be 32 restaurants, some in some cities; but not other
"CashFlow" can be either "Revenue" or "Expense"
The layout of the Pivot table is nice, only shows the Rows where a State, Restaurant, and CashFlow entry exists for at least one Date on that row. And there are no extraneous rows for combinations that don't exist.
Now.... the trouble...
I added a Calculated Item, "Profit" which = "Revenue" - "Expenses".
Now, every possible combination of State and Restaurant appears in the pivot table displayed. Only the "Profit" (calculated item) is shown for the previously hidden rows; and of course it's "$0.00" since there are no "Revenue" or "Expense" entries.
How can I get the Pivot table to not display the results of a Calculated Item row, when there are no entries otherwise for that row combination?
Is there a way to condition the Calculated Item to not calculate if there are no data entries in the addends for a particular combination?
I've been struggling with this for a little while today and quite can't seem to figure it out. I have a range --- A6:A28 --- where a user will enter a percentage. The total should add up to a 100%, which is in cell A30.
My understanding is that a need a worksheet_calculate function to tell users to revise their entries if the results in a cell A30 are either less than or more than 100%. This is the simple, non-working procedure I have now:
I've got a sample spreadsheet that I'm trying to get the MAX from a Range of cells that only begin with "TMP". Problem is, if I use MAX or SUM to try to calculate the largest number (or a sum, just to test), it returns "0" for the caluculated range. If I Copy and Paste Values, the MAX or SUM formulas still don't work.
Only if I edit the cell and hit the ENTER key will the Formula(s) work, for each cell in the range that I edit/ENTER. All cells are formatted the same (GENERAL), and I'm not working it into a VBA Macro (just yet).
I've created a model starting from on another person's workbook, and I'm seeing an issue I haven't seen before.
For instance,
A1 = 10
A2 = 1.5
A3 = A1 * A2 = 15 (all good, so far)
If I change the number of A2 to 0 decimals places, the value shown will be 2 (which is correct, of course), but the value of A3 becomes 20. I would like for this to stay at 15 because the correct value of A2 is 1.5, not the rounded value of 2.
I have a filtered row that calculates values based on user input. I would like to take the calculated value of a cell in that row and place it as a static value in a different cell.
For example, the filtered row is row 85. The user inputs 5.5%. Cell AK85 calculates the value to be $100,000. Cell AK3 references the original row, which is 3. I would like to take the $100,000 value and place it in cell AK3 but as a static value and not based on a formula.
I have a calculated cell (D13) which can either be (All), Grade or Rate.
If D13 = (All), I would like Rows 19:52 to be hidden
If D13 = Grade, Only Rows 19:20 to be hidden
If D13 = Rate, Only Rows 22:52 to be hidden
I am wanting to have certain cells of data from one worksheet appear on another worksheet once the cells on the first sheet have data entered in them.
I find that I can do a simple formula to copy the cell but I want the cell to remain blank until data is added in the first sheet (it will be a mix of text and numerical entries).
For cell K12, check for data in cells A4:A6 and F4:F6. If data is found, put it in K12, but if no data is found, cell is to remain blank.
Attached is the Excel file in question with comments in the appropriate spots.
The equation currently being used:
{=INDEX(A4:A6,MATCH(TRUE,A4:A6<>"",0))}
I have this code here that is supposed to Auto-sum 3 columns for me...
View 2 Replies View Relatedthere is data going to excel from database. The data is something like jan to dec sales and in a arbitrary fashion. now if there wont be data availble for say month of july then nothing will be there.
Now i need to nicely formulate data from jan feb ..Dec and in same order in another cells. Now for empty cells data after formualting it is coming as #N/A. and by this i am getting a same thing in the application where this excel sheet is being used. So for eliminating it i need to use 'if' such that if it is undefined or NULL then blank should be there in the formulated cell.
I have another query that I believe can only be solved using VBA.
In a row of input data, some cells are duplicated from previous cells in the same row but in some instances, the user needs to be able to input different information.
e.g. M4=F4 if left blank and the same would apply to columns N=G, O=H, P=I & Q=J.
I have done some searching but nothing quite matches my requirements and recording a macro only produces the following result.
my question is how to return blank cell if i have no data inputted in left cell.. or if AH9 is blank or no data inputted AI10 will be blank using this formula.. =IF(AH9<75,"A",IF(AH9<82,"B",IF(AH9<87,"C",IF(AH9<92,"D","E"))))
View 2 Replies View RelatedI need to move data from columns B & C into A without losing current data in column A (see attachment). I'm sure I know how to do this but cannot for the life of me remember how.
View 5 Replies View RelatedI have created a form where a date and remark is added every few days. I am using Phone Number as the base of VLookup. I want a code so that the date and remark which is entered in a Text Box, is stored in the first available blank cell pertaining to that employee. I want the first date and remark to be under "Date 1" and "Remark 1".
Thereafter, if another remark is subsequently added for that employee, the form would ask to enter his phone number to identify which employee the remark pertains to. Then the Text Box where remark is entered should be stored under "Remark 1" if there has been no remark before, "Remark 2" if "Remark 1" already exists, "Remark 3" if "Remark 2" already exists and so on.
I do not want to enter it in a new row. I want to enter the remark in the next blank cell of the row which matches the employee Phone Number.
Untitled.png
I'm using a formula that I got from a previously made excel sheet. The formula does what I need it to do and looks like this: =INT((D10-10)/2)
The problem is, if I don't enter a number in the cell D10, all the cells with this formula show -5.
If I don't want data entered into D10 yet, I'd like all the cells with that formula to be blank until I actually enter a number in D10.
I think it has to do with using an IF statement followed with ""? Am I on the right track?
Also, if I have other formulas like =SUM(AP3:AQ6), but the cells it refers to are blank, how can I make the cell with the formula also be blank rather than show a 0?
I know I can turn off the "Show a zero in cells that have zero value" option, but I was wondering how to do it with the formula instead.
I have a tracking sheet... in that I got in column C say "priority" there I have a drop down list date say P1, P2, P3
Now I need to restrict that if a user enters a data in the C2 and trying to enter a data in D2 leaving the drop down list data blank in C2. A error message saying "pls select priority forst" etc...
I got the following solution from moderator:
You can apply the Custom Data Validation formula =LEN(C2)>0 to D2, making sure that Ignore Blank is unchecked.
It works but, when I enter something in that cell it gives the error message and when I click OK or Cancel it just ignore the conditions and leave the data what ever I entered and moves further.
Possible to have two spreadsheets and then perform the following tasks
1. Check If the cell in column I from cell I4 and the spreadsheet varies in length is blank and if it is - see item 2
2. The data equals certain values i.e. CDE or CDE - QUO or CDE - PRO - see item 3
3. Perfom a VLOOKUP to another spreadsheet
If the routine stops at any of the items then move to the next cell
Data is on spreadsheet - Allocations.xls
Vlookup is performed on this spreadsheet - 001 - Allocations - Blocks
The Vlookup for example is: =VLOOKUP(A5,'[001 - Allocations - Blocks.xls]CurrentDayAll'!$1:$65536.9,FALSE)
I have two sheets with a table on each. Sheet 1 table 1 has a row of data on jobs we are bidding. If we win the job there is a column where we input a job number. What I would like to happen is that when someone enters a job number in this column, it takes that number and the information that is in two other cells in the same row to table 2 on a sheet 2. This will give us a current jobs sheet. I am using Office365 but some users are using 07 maybe even 03.
View 3 Replies View RelatedI receive a huge spreadsheet with account numbers in col A and names in col b with dates in col g and amounts in h. However if there is more than one date and amount for the same account number and name, the people/program who originated the data left those fields blank.
In order to sort the list by name by date, I have been manually copying the data from the row immediately above to the blank row(s). (L O N G process) So if I have ...
I have 2 similar question.
I'm using a formula that I got from a previously made excel sheet. The formula does what I need it to do and looks like this:
=INT((D10-10)/2)
The problem is, if I don't enter a number in the cell D10, all the cells with this formula show -5.
If I don't want data entered into D10 yet, I'd like all the cells with that formula to be blank until I actually enter a number in D10.
I think it has to do with using an IF statement followed with ""? Am I on the right track?
Also, if I have other formulas like =SUM(AP3:AQ6), but the cells it refers to are blank, how can I make the cell with the formula also be blank rather than show a 0?
I know I can turn off the "Show a zero in cells that have zero value" option, but I was wondering how to do it with the formula instead.