How To Leave Cells Blank Until Data Is In Source Cells

Sep 13, 2013

I am making a spreadsheet for use by my customers. Is there a way to leave cells that have formulas' in blank until the cells that make up the formula have entries in?

View 5 Replies


ADVERTISEMENT

Leave Other Cells Blank If No Data In Cell

May 9, 2009

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.

View 9 Replies View Related

Leave Other Cells Blank If No Data In Cell

May 9, 2009

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.

View 9 Replies View Related

IF Statement To Leave Cell Blank If Multiple Cells Are All Blank?

Mar 12, 2014

I am looking for an IF statement that would leave a balance cell blank if both the revenue and expense cells are blank, otherwise a formula would be calculated.

View 8 Replies View Related

Leave Cells Blank Without Zeros

Sep 19, 2009

i have a mock up football issue here i want to enter scores in sheet 1 and they automatically fill sheet 2 etc i know i can just =and copy sheet 1 A5 and so so but that leaves zeros which will start allmy formulas with 1 point i need a formula that will leave sheet 2 3 etc blank untill any score is entered

View 3 Replies View Related

Summing Cells That Contain IF Statement To Leave Cell Blank If Zero

Mar 14, 2014

I need to sum cells that contain this formula: =if($c$5=0,"",c5*b5). I am getting a wrong data type value error.

View 7 Replies View Related

Count Number Of Cells In Column That Contain Specific Value But Leave Blank If None?

Mar 6, 2014

I have a spreadsheet that contains given answers to a multiple choice test. I want to count the number of times each possible answer has been chosen at the bottom of the column. I have tried to use COUNTIF and that works fine to give me the number times each answer has been chosen but there is just one annoying thing. If the given answer hasn't been chosed by anyone, a "0" is automatically entered into the cell. This tends to really clutter up the spreadsheet and I would prefer for the cell to be left blank if the answer hasn't been chosen by anyone.

The closest I can come up with is: {=IF(D1:D10="","",COUNTIF(D1:D10,"A"))} but unless the answer "A" is chosed in D1, the cell remains blank.

If "A" is chosed in D1, then the formula works and counts all the rest of the cells that have "A" as an answer.

View 2 Replies View Related

Copy Data In Non-blank Cells Within Range And Paste Into Cells On Another Worksheet

Jan 19, 2012

I have data in some of the cells within range A26:A39

These cells are populated via an IF function on another worksheet. Even though the cells appear blank (as in the value returned is ""), there is a formula in these cells. I think it's called formula blank?

I am looking for a way to copy the data from the cells within the range which are not blank (ie: not = "") and paste this data elsewhere on the sheet in a list with no blank spaces in between.

I anticipate that there will be 4 non blank cells within this range.

Ideally I would have data from the nonblank cells copied and pasted to cells
A40
A41
A42
A43

View 5 Replies View Related

If No Data Leave It Blank (cell Contains Formula)

Mar 31, 2007

A1 has a date of 03/10/07
B2 has formula =A1 + 7
I want to copy that formula down the column B2 but if
B3 is empty I get 01/07/1900
How Do I make so that if there's no date entered in
A column I get blank cells but still retain formulas,
I've been running into this issue with other formulas but I couldn't find any solution searching this forum,

View 9 Replies View Related

Count Number Of Blank Cells Between 2 Cells Containing Data

Mar 29, 2014

Getting a formula or macro that count the number of blank cells between 2 cells with data (numbers) in 1 column. E.g.

1
Blank
Blank
2
Blank
Blank
Blank
3
...

In this case the blanks between 1 and 2, between 2 and 3 to be displayed in an adjacent column.

View 3 Replies View Related

Leave Cell Blank From Formula Until Data Is Posted

May 22, 2007

I'm trying to create a worksheet to automatically make a football league table update once results are entered. I have entered a formula using the "IF" function which compares scores and then awards points. However before a game is played and the cells are left blank, the formula detects this as a "draw" and awards a point. how to prevent the formula operating until a result is entered?

View 7 Replies View Related

VBA To Choose The Source Cells For A List With Data Validation

Mar 10, 2008

when you choose Data Validation for a specific cell, you can choose list. Once you have chosen list for "Allow", you can select the source cells for what will be in the drop-down menu. I want to be able to use VBA (or just use Excel) to modify those source cells.

For example:

There will be 3 lists with drop-down menus using Data Validation.

List 1:
Choose first option in list -> List 2 uses source A
Choose second option in list -> List 2 uses Source B
etc...

List 2:
Choose first option in list -> List 3 uses source C
Choose second option in list -> List 3 uses source D

View 11 Replies View Related

Imported Data Creates Blank Cells That Aren't Really Blank

Feb 21, 2006

Here's what I'm attempting to do: For each column, X,Y, Z, I am attempting
to count nonblanks. However, the data was imported from Access and Oracle,
and Excel treats what appear to be blank cells as nonblanks. I've tested
this theory by highlighting a couple of "blank" cells and deleting them, and
my count changes. So, can I get Excel to put a value into my "blank" cells,
so then I could filter it out, or create a formula that would only count
dates in my columns (which is what I'm after).

This is what I'm looking at:

A B C
1 2/4/2006 2/6/2006 ("blank")
2 ("blank") 12/13/2005 1/7/2006
3 2/20/2006 1/15/2006 ("blank")

In each column if I use a COUNTA I'll get a total of 3, instead of 2 for A,
3 for B and 1 for C.

View 14 Replies View Related

Formula To Fill Cells Vertically From Source Data Which Is In Horizontal Format?

Jun 14, 2013

I have a formula in cell A1 that I need to drag downwards so that it fills cells A2 to A10. That formula is picking up the figures located in another sheet but the figures on that sheet are arranged horizontally (A1 to J1). Is there a formula to perform this action? I've tried playing around with the $ sign in my formulas but it does not work.

View 2 Replies View Related

Ignore Blank Cells And Truly Blank Cells In Named Range?

Jan 13, 2014

Ok so my named range looks like this:

[Code]....

However, I want to ignore the "" cells and the truly blank cells... However, I think all of them will have "" since I have this formula in all of the ones I'm putting in the range:

[Code]....

How do I go about getting these results into a named range so I can use it on validation since validation only seems to ignore truly blank cells and not the "" ones.

View 4 Replies View Related

Macro To Leave The Values In A Range Of Cells

Nov 20, 2009

I need a macro to leave the values in a range of cells.

The macro needs to work on which ever cell is high lighted

For example if I high light cell G8 it needs to leave the value

in cell G8 to G24 then
in cell G29 to G45 then
in cell G50 to G66 etc

all the way down to the last cell range G1142 to G1158

View 9 Replies View Related

Clear Value Cell & Leave Formula Cells

Dec 19, 2007

The worksheet (Payments) contains a list that allows the user to input accounting transactions. Almost every input cell contains a formula or data validation enabling selection from a dropdown.

The worksheet feeds the data to 3 separate spreadsheets (Debits / Credits / VAT) and the formulas for that are contained within dynamic ranges in the other 3 sheets. A command button macro then feeds that data from the 3 sheets to the Master sheet. This all works perfectly.

After the macro is run and the data is copied to the Master sheet, I would like all of the data in the 4 other sheets to be cleared without losing the formulas and data validation, ie so that the sheets are empty and clear for the next batch of inputs.

View 5 Replies View Related

Fill In Blank Cells Referencing Non-Blank Cells Above

Apr 17, 2008

I have sporadic cell values in a column. I will be describing the lamen logic I use to fill in these blanks manually. Find the first nonblank cell in the column, then look for the next nonblank cell in the column. I count the number of blank cells in between. If even # of blank cells, then I give the first half of the blanks the value of the first nonblank cell and the second half of the blank cells the value of the next nonblanck. If odd # of blank cells, then I do the same with the exception that the odd cell that falls in the middle will be randomly designated the value of the either first or second nonblank cell.

View 4 Replies View Related

Copy Cell Data To Other Worksheet Cell - Leave Blank If Not Currently Filled

Jul 8, 2014

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).

View 4 Replies View Related

Blank Cells Between Data In Same Row

May 24, 2012

I have a little problem here. I have my macro, and my save button in form5. I manage to keep the other data (from other form), but when I use this save button for Form5, the details save in the same active row, but saved it starting in Column O, which it is suppose to save start from Column H.

The result shows something like below.

A B C D
21 Vanessa 540414101422 14-Apr-54

E F G H
24-May-12 10333 0129458856

H I J K L

M N O P Q
Yes W G
R S
122 T

Here is my code:

Code:

Private Sub save_Click()
ActiveWorkbook.Sheets("PATIENT").Activate
Range("A2").Select

Call lastCell

ActiveCell.Offset(0, 7) = p.Value
ActiveCell.Offset(0, 8) = km.Value
ActiveCell.Offset(0, 9) = kp.Value
ActiveCell.Offset(0, 10) = KKEP.Value
ActiveCell.Offset(0, 11) = KKO.Value
End Sub

Here is my macro:

Code:

Sub lastCell()
Selection.Copy
Sheets("PATIENT").Cells(Rows.Count, "H").End(xlUp).Offset(1).Select 'PasteSpecial 'xlPasteValues
Application.CutCopyMode = False
ActiveWorkbook.Save
End Sub

View 9 Replies View Related

Excel 2010 :: Macro To Delete Text From Cells And Leave Dates

Apr 27, 2012

I am using Excel 2010 and I need a macro to delete all text from cells and leave the dates.

Below is an example of the contents of six cells. Some have just text, but some have text and dates.

1st Time Attender: 4/8/20121st Time Attender:1st Time Attender: 4/5/20122nd Time Attender:2nd Time Attender: 4/8/20122nd Time Attender: 4/5/2012

In this example, I would want the new cell contents to be:

4/8/2012

4/5/2012

4/8/2012
4/5/2012

View 1 Replies View Related

Drawing A Blank On How To Sum Cells With Like Data

Feb 5, 2010

I have a worksheet with 27,000+ rows. Item numbers are listed in column J and quantities in column E. The rest of the data on the sheet is not needed. An item number may be listed multiple times. I'm trying to create a new sheet that lists each item number once with the sum of all the quantities associated with that number. The data is sorted so all "like" item numbers are listed in consecutive rows.

View 5 Replies View Related

Copying Data Down Into Blank Cells...

Jan 25, 2010

I have a table with over 12,000 rows in it. In one column I have activity and the next a name.

A B

Walk John
Run Harry
Sleep John
*blank* Harry
Eat Percy
*blank* John
*blank* Harry
Reading Tom

So *blank is completey blank and that means Harry also put time to sleeping, and again John and Harry both put time to eating. How can I make the blank cells auto populate with the data from the entry above it?

View 3 Replies View Related

Show Sum Of Data Only If All Cells In Row Not Blank?

Jan 17, 2012

If i have =SUM(C8:J8) in K8 and the sum of the values is 0

I only want to show 0 so long as there is a value typed in at least 1 of those cells (the value typed in those cells is often 0 fyi).

If all the cells between C8:J8 are blank then i want K8 to show nothing.

View 1 Replies View Related

Extract Data From Non Blank Cells

Sep 11, 2008

I have a worksheet with an overview that is filled with blank cells and wells with 1 values (see example):

1234abcd1efgh1ijkl1mnop1

I'd like to extract only the cells which are filled with the value 1 and concatenate them into the matching text. The result are to be placed in one column in a second worksheet:

Resultabcd1efgh2ijkl3mnop4

View 9 Replies View Related

Placing Data Into Blank Cells

Jul 6, 2006

I know this is basic but I'm having a hard time here. I'm trying to insert certain data into a column of blank cells. I just need the fields to be on there once. As of right now it is pasting the first field multiple times.

Private Sub AA_Click()

If PS = True Then
Range("A61:A70").SpecialCells(xlCellTypeBlanks) = "Pull Stations"
On Error Goto 0
End If

If CS = True Then
Range("A61:A70").SpecialCells(xlCellTypeBlanks) = "C-F-A Switch"
On Error Goto 0
End If

View 3 Replies View Related

Count Blank Cells That Have Data Below Them

Nov 10, 2006

I am looking for a formula to count 2 blank cells (and return the value as 1 rather than two) but only when the cell preceding has data in it. eg in A11 there is data but in A12 & A13 it is empty = 1. PS If you are on the boards Jim I will email you an update when I get home tonight.

View 8 Replies View Related

Data Validation List With Only Non-blank Cells

Aug 21, 2009

I have a list in one worksheet which comes from "=SALESMEN!$D:$D" but the list is extremely long with blank values. How can I make the list only show values from column D which are non-blank?

Currently the list goes up to 30, however I want to use all of Column D from the SALESMEN worksheet, that way if I add to it, the names will automatically be added to the list in the other sheet.

View 10 Replies View Related

Skip Blank Cells In Chart Data

Jan 29, 2011

I have a column of data that I want to display as a chart. However, there are some blank cells in the column. When I use a simple line chart, the chart drops the line all the way down to zero for the blank cells. If the blank cell is B4 in column B, is it possible to make excel ignore that cell and connect B3 and B5 with a straight line?

View 6 Replies View Related

Formula To Display Data When Some Cells Are Blank

May 6, 2013

I have attached a spreadsheet that is causing me difficulty. I currently have a formula that is displaying in V3 the highest grade when it looks up the data in A3,H3 & O3. Then this is repeated for W3 when the data is looked up in B3, I3 & P3 etc etc... BUT

I need the formula to work if only block one is complete i.e. (1 Explore grade, 1 Plan Grade, 1 Make Grade etc).(please see the example to understand what is meant by a block)

The current formulae will only display a grade if all cells are complete i.e., A3,H3 & O3.

So I am looking for the formula to:

If A3 has a grade in it I wish V3 to display it because its the only grade. (even if H3 & O3 are blank)

As and when H3 has a grade filled in I want the formula to select the highest and display it in V3 (again even if O3 is blank)

As and when A3, H3 & O3 has a grade in it I wish the formula to lookup and display the highest in V3

Ans this repeated for all different areas, Explore, Plan, Make etc.

example doc with formula.xlsx

View 1 Replies View Related







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