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


Worksheets Drawing Data From Target Cells Without Moving If Add Lines?

Feb 19, 2014

I have one excel file sheet in which we enter client data and another page in the same file that formats the data. Each new row is another client.

It is a simple formula in the data formatting sheet ='data sheet'A23 for example.

The problem is when we add client data above A23, say 2 rows, the format data page will follow the original cell and now say ='data sheet'A25.

How do I keep the cell as ='data sheet'A23 no matter what I do the original page?

View 1 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:

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

VLOOKUP On Cells Which Contain Auto Shapes Or Drawing Objects?

Jun 11, 2014

how VLOOKUP can be used to look up cells with auto shapes or drawing objects with a number next to it. I keep getting the value in return but the auto shape/drawing object is omitted from the answer. I use Office 2013.

View 8 Replies View Related

Table Of Contents - Drawing Info From Various Cells On Different Sheets

Jul 29, 2009

I have a "Generate Table of Contents" button that launches a macro. This macro builds the Table of Contents, creates (3) columns (Patient Name, Date of Pickup, and Frequency), finds all of the sheets in the work book (already renamed to a patient's name), sorts them alphabetically, and lists them under the Patient Name column.

This code works great - The next challenge:

On each sheet (which corresponds to a patient in the database), there is a cell that is filled in that states which day the patient picks up their medication. There is another cell that designates how often they come to pick it up.

I am at a loss as to how to direct the macro to: For each sheet, go to the specific cell, and then report it in the table of contents.

It somehow needs to bind the information together... meaning the patient name, date of pickup, and frequency must be displayed correctly each and every time on the same row.

View 4 Replies View Related

Drawing Figure According To Data Feed

Jan 4, 2013

Is there any method in excel that can pay the way for drawing figures according to data feeded.

for Ex.


Radius of circle=x

Now this x can be used for drawing the circle and the radius can be entered by user.

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

View 5 Replies View Related

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


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

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.

21 Vanessa 540414101422 14-Apr-54

24-May-12 10333 0129458856


Yes W G
122 T

Here is my code:


Private Sub save_Click()

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:


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

View 9 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.


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


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:


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

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:

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

Cells Left Blank When Using Data Validation

Mar 4, 2003

I am using Data Validation and I don't want the user to go past a cell without putting in an entry. When I leave the box (ignore blank) unchecked it doesn't do anything after I have protected the document.

View 9 Replies View Related

Count The Blank Cells In A Range Of Data

Jul 29, 2006

(It's hard to get out of the mindset of formula writing and into the structure of code).

I want to count the blank cells in a range of data from C4 to I4

I've written the
Range(Cells(4, "C"), Cells(4, "I")).Count

but this counts the number of cells. What's the simplist way of counting the blank cells in this range?

View 9 Replies View Related

Copy Data Without Blank Cells Included

Aug 8, 2006

I have a column with data that has one cell populated then the next 4 blank, and so on down the line... I want to copy only the cells with data into a new column without any of the blanks in between (in the new column). I can use the filter feature, but that just screws up the remainder of my spreadsheets other columns. It basically only hides rows, which is not what I need.

Here's some background on what I'm trying to accomplish:
I've downloaded daily stock data and want only every 5 days of data starting from the top ("today"). I have tools that can download the data I need in a "weekly" format, but the problem is: it cuts of on Fridays. So basically it's not true weekly data from "today". I just want "today", then 5 trading days back, then 5 days back, etc. etc.

View 4 Replies View Related

Fill Blank Cells With Data On Left

Dec 14, 2007

I have a macro that creates mutiple, though varing numbers of, columns. Once the columns are created, a blank column is set up to the right of them. When the data is ideal, only one cell in each row created by the populated columns will have data in it. So lets say that in this example, the macro created 23 columns of data. A1 is blank, B1 is Widget, and C1 through the end are also blank. I need a macro that will look at the rows and find the populated column and copy that string of data to the blank 24th column (to the right) created after the poulated columns. So X1 (the 24th column) will have Widget placed in it.

Now I need it to do one other thing. In another example, let say there are 5 columns created this time. In the third row, there is data in A3 and D3. If they are the equal to each other (A3 value being 143256 and D3 value being 143256), then I need the 6th column created to have 143256 placed in it. However, if the data differs ( A3 value being 143255 and D3 value being 143288) then I need the word "Scrap" to appear in the sixth column.

View 3 Replies View Related

Ignore Blank Cells And Truly Blank Cells In Named Range?

Jan 13, 2014

Ok so my named range looks like this:


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:


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

Remove Blank Cells From Row - Add Commas Between Data In New Cell

Jan 10, 2014

I have a column of contacts. Each contact has data spread out over many rows, most of which are blank. I would like all of the data spread out through the rows to be in one cell, delineated by commas (so I can import into another program).

Concatenating the cells works except that I end up with 20 commas for two strings of info.

Just so you understand I may have this:
Mary red blue yellow purple
Rob blue purple
Trey yellow

and I want it to look like this

Mary red, blue, yellow, purple
Rob blue, purple
Trey yellow

How should I go about this?

View 14 Replies View Related

Fill In Blank Cells If Adjacent Cell Has Value Then Do For Next Set Of Data

Feb 19, 2014

I'm trying every conceivable angle I can think of in vba and coming up empty. What I have is a spreadsheet similar to this:

Column A Column B

1. 1234567
2. 2345678
3. 3456789
4. 4567890 A0001
6. 9876543
7. 9876543
8. 9876543
9. 1234578
10. 3456789 A0002

What I would like to do is to fill in B1:B3 with A0001 and B6:B9 with A0002. The number of rows in each set of data will vary, but the identifier (A000X) will always be located in the row in column B adjacent to the last entry for that set of data in column A and there will always be empty cells between data sets. The number of data sets will also vary.

View 5 Replies View Related

Macro To Fill Blank Cells With Data In Above Cell

Dec 10, 2013

I have a small challenge, where I am trying to fill blank cells with the data from the last populated cell above.

However, I need it to be able to automatically recognise when a manual entry has beed actioned down the column and recalculate for below that cell with the new data.

The data in the cell is selected from a drop down. I want it to populate all the cells below, until the next drop down is selected. And automatically repopulate them all when it is selected.

E.g. Cell C8 has the value "DATA" selected, and everything below is autofilled with "DATA", but when I select cell C12 with different drop down list value "VALUE", all the cells below stay as "DATA" because they are obviously no longer blank.

What I need if C9 - C11 to remain filled with 'DATA" and from C13 to auto fill with the newly selected value "VALUE".

Need this to happen for as many rows and data selections from the drop down as needed (endless).

I have used:

Sub FillEmpty() Application.ScreenUpdating = False Application.Calculation = xlManual Dim cell As Range For Each cell In Intersect(Selection, _ ActiveSheet.UsedRange) If Trim(cell) = "" And cell.Row > 1 Then cell.NumberFormat = cell.Offset(-1, 0).NumberFormat cell.Value = cell.Offset(-1, 0).Value End If Next cell Application.Calculation = xlAutomatic 'xlCalculationAutomatic Application.ScreenUpdating = False End Sub

which does the auto fill, but won't change the cells below once one of them has been updated.


Drop down list has 31 possible selections at the moment

Starts at Cell C8

Needs to be flexible enough to add an indeterminate number of rows, and additional items to the drop down selection.

View 1 Replies View Related

Copy Column Of Data Removing Blank Cells

Nov 18, 2008

I have a long list of values in column F of my worksheet. These values appear in random rows for example: cell F3 is 27, cell F9 is 7, cell F13 is 27, cell F20 is 9 ... The data is not evenly spaced any specific number of rows apart, but there are spaces (rows which are blank in column F).

I would like to put all of these values in column G but without any blank cells, and keep the order the same as well. So using the above example, Id like a way to make cell G1 read 27, G2 read 7, G3 read 27, G4 read 9.

Column F could be a very long column im not sure exactly how long as the data is being put in periodically. Some sort of formula that I could just drag down that would read the values from column F and put them in column G with no places would be ideal.

View 9 Replies View Related

Stopping Data Entry If Adjacent 5 Cells Are Blank

Feb 10, 2009

I've got six columns with drop-down lists in every cell. I don't want column six to be selectable if the first five drop downs don't have data in them too.

Equally, I want the data in column six to be undone if columnns 1-5 are then unselected. Can I do this?

I know that using data validation or VBA is an option but I'm not sure exactly how to set it up this way. I also don't want anyone screwing with what can and can't be entered according to these rules - I want to keep it watertight!

View 9 Replies View Related

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