Excel 2010 :: Making Portions Of Drag Down Formula Skip Cells

Feb 11, 2014

I have set up a formula to sum data from specific columns in multiple sheets in the same file. The simple formula had worked perfectly until I needed the data from the last sheet. In all of the other sheets the data that I need to pull is all in consecutive rows but in the last sheet the data that I need pulled and added is in every 4th row. The sheet looks like this:

All of the columns I've filled in work fine. The ones blank are the ones I am running into issues with. When I drag down the formulas excel pulls the next consecutive rows, which is perfect for the first four sheets I am summing, but for the fifth sheet (I'll ref the Test1 column) I need it to pull 'Wayne 2014'!C6 and then 'Wayne 2014'!C10 in the next row and so forth.

Date
All Test
Test1
Test2
Test3
Test4
$ Amt.

Jan.16
=SUM(C2+D2+E2+F2)

[Code] ........

The first four sheets look like this, which is why they work fine:

Date
All Test
Test1
Test2
Test3
$ Amt.

Jan. 16
=SUM(C2:E2)

[Code] ........

The fifth sheet looks like this: I only want the formulas from the first sheet to pull the data from the dated rows in this sheet.

Date
All Test
Test1
Test2
Test3
$ Amt.

Jan. 16
=SUM(C2:E2)
=SUM(C3:C5)

[Code] ......

Is there any way in Excel 2010 to get it do what I want? (I am not sure how that one cell became outlined and I do not know how to fix it.)

View 4 Replies


ADVERTISEMENT

Drag Formula But Skip Every Other Row

May 11, 2009

I am trying to link the cells up in a new workbook the problem is the data I need is setup in a way the formula needs to skip every other row.
For example:

View 2 Replies View Related

Drag And Skip Cells When Using AutoFill?

Sep 15, 2013

I have data in a row - A1 B1 C1 D1 etc.

And a SUM function in row 2 - =SUM(A1:C1)

I want to be able to drag this function to calculate SUM in blocks of 3 e.g.

=SUM(A1:C1), =SUM(D1:F1), =SUM(G1:I1)

View 7 Replies View Related

Drag/Fill Formula & Skip Some Row References

Apr 28, 2008

I have the following formulae in seperate cells were A1, A2 and A3 are the cells

A1 =MAX(Data!C2:C3)
A2 =MAX(Data!C4:C5)
A3 =MAX(Data!C6:C7)

I would like to drag the cells so that automatically the cells below A3 are updated as follows

A4 =MAX(Data!C8:C9)
A5 =MAX(Data!C10:C11)
etc up to 600 rows

Unfortunately it is not being updated in that order. Do you have any suggestions how it can be done.

View 4 Replies View Related

Excel 2010 :: Populate Cells From Listbox Drag / Drop - Can't Find First Empty Row On Worksheet

Feb 1, 2014

I am running Excel 2010 and Windows 7.

I have a form with a main list box and several other list boxes. I drag and drop records from the main list box to the others. When I drop a record onto one of the list boxes, a corresponding worksheet is updated with the same record. This works just fine.

The problem I have is:I close and re-open the form after having added some dataDrag/Drop a record to the list boxThe worksheet won't find the first empty rowExample: If the worksheet already contains 4 rows of data, I have to drag/drop 5 times before the fifth row will be updatedI would like to drop the data the first time and have the first blank row updated

Notes:

1.) I have tried variations of "xlUp", "xlDown", and SpecialCells(xlCellTypeLastCell) in the "Worksheets("Monday")... line of code; all to no avail.

2.) The cells contain formatting (borders)

Here is the relevant code:

Code:

'Copy items from the list box to the worksheet
For intI = 1 To ListBox2.ListCount
For intJ = 1 To ListBox2.ColumnCount
If IsEmpty(Worksheets("Monday").Cells(intI + 1, intJ)) Then
Worksheets("Monday").Cells(intI + 1, intJ).Value = ListBox2.List(intI - 1, intJ - 1)
End If
Next intJ
Next intI

View 2 Replies View Related

Excel 2010 :: Drag Down But Update Column By 1

Nov 8, 2013

I have a simple formula

=IF($D116=D1,SUM(D90:D103))

I need to drag this down but as I drag it down, the column needs to be updated by 1.

so it would look like this:

=IF($D116=D1,SUM(D90:D103))
=IF($D116=E1,SUM(E90:E103))
=IF($D116=F1,SUM(F90:F103))

Excel 2010
A
B
C
D
E
F
G

[code].....

View 6 Replies View Related

Drag Fill To Follow Pattern And Skip Row

Mar 9, 2014

Attached is a sample worksheet. I have data in column A that I want to drag fill in column C. In column C, once the first 2 results in column A are entered, I would like a blank cell and so on.

testdv.xlsx

View 8 Replies View Related

Excel 2010 :: Making A Planning - To Show In A Report?

Dec 2, 2013

I would like to make a planning, to show in a report. Is this possible to do with Excel 2010? Or do I need another programm?

View 2 Replies View Related

Excel 2010 :: Making Chart Title From Cell Contents?

Jan 10, 2014

I am trying to make the contents of a cell into a chart title.I know I can do it like this...

ActiveChart.ChartTitle.Select
Selection.Caption = "=tab_name!R2C1"

However, I am trying to use the same macro on several different tabs in the same EXCEL worksheet. Obviously, I can't have the tab name in the macro. But, I don't get a title at all when I try to remove it like this...

ActiveChart.ChartTitle.Select
Selection.Caption = "=R2C1"
or
ActiveChart.ChartTitle.Select
Selection.Caption = "=A2"

Is this possible? I am (kinda new at) using EXCEL2010.

View 3 Replies View Related

How To Force Excel To Drag Formula By Two Instead Of One

Mar 17, 2014

This is my formula:

=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A1:C2)

My question concentrates on this part of the formula:...Criteria!A1:C2

When I drag down the formula, it changes, as usually, adding 1 to the cells address, like this:

Criteria!A1:C2
Criteria!A2:C3
Criteria!A3:C4

BUT, I want the formula dragged down, adding 2 instead of 1, changing like this:

Criteria!A1:C2
Criteria!A3:C4
Criteria!A5:C6

How can I achieve this result?

View 2 Replies View Related

Excel 2010 :: Making Worksheet Open In Full View Mode At User End

Sep 3, 2013

I'm using Excel 2010. I have a workbook with only 1 worksheet in it and it will be sent to several people. I want that excel file to open in Full View when the end user opens it. Is this possible without any VBA codes?

View 2 Replies View Related

Excel 2010 :: Making Hard Coded Cell Dynamic While Maintaining Original Content

May 16, 2014

I pulled a set of financial statements from a database into Excel. All of the values are hard coded but I would like to make them dynamic, while maintaining the original content. For example, If cell C3 is a revenue figure for 2012 ($1,000) I would like to link it to cell C5, which will be a currency conversion rate (2.0). So I would like cell C3 to read =1000*C5, which would equal 2000, and for cell D3 to equal 2013 sales*D5, etc. I would also like this to go across a specified range so that I can also change operating expenses, taxes, etc over a number of columns (dates) that I define, all linking to the conversion rate for the given year. Having another tab where you link and anchor is an option but I would prefer something in VBA where I can qickly include this functionality with new workbooks that I download.

I am using Excel 2010.

View 5 Replies View Related

Drag A Formula Referencing Different Cells?

Apr 26, 2012

I have data in every cell within a column. I want to pull data from every 7th Cell.

Ex.

Cell CP7 needs to reference AG10
Cell CP8 needs to reference AG11

View 8 Replies View Related

Drag Down Formula That Skips 48 Cells

Apr 4, 2014

I want to put in cell I3 the value from cell C1, to I4 the value of C49 and so on. How can I do it?

View 5 Replies View Related

Drag Random Cell Formula To Other Cells

Dec 19, 2007

I am making a sheet that has many colums of data that I want to sumup colum wise. I am doing is using this macro ..
=============================================
Sub Add_Totals()

For Each NumRange In Columns("C").SpecialCells(xlConstants, xlNumbers).Areas

SumAddr = NumRange.Address(False, False)
NumRange.Offset(NumRange.Count, 0).Resize(1, 1).Formula = "=SUM(" & SumAddr & ")"
NumRange.Offset(NumRange.Count, -1).Resize(1, 1).Value = "TOTAL="
Next NumRange
End Sub...........

View 9 Replies View Related

Excel 2010 :: Multiple Formula For Single Cells?

Feb 18, 2014

I'd like to apply multiple formula to a set of cells on a summary page. My summary page also contains 3 variable dropdowns, and I'd like to display data based on the text selected in those dropdowns (pulling data from 2nd tab "Variables")

The following formula works in the first instance:

=IF(AND(H4="Product Type A1", H6="External", H8="Existing"), Variables!C4, 0)

What I'm struggling to do is add additional formula to the same cell in order to deal with the remaining eventualities of the drop down variables:

Variable 1:
Product Type A1
Product Type A2
Product Type B1
Product Type B2

Variable 2:
Internal
External

Variable 3:
Existing
New

Or am I better using a VLOOKUP or something?

View 2 Replies View Related

Excel 2010 :: Use Nested IF Formula To Color Cells?

May 16, 2014

I am trying to use the IF formula or a similar VBA/Macro to color certain cells. We deal with 16 different sand types that come in on rail cars. I want to put in the sand type in a cell; EX: C11 has text "30/50BH" if this statement is true to color cells A11-D11 yellow. If it is not a true statement to check for the next sand type, "20/40BH" and go on from there. If I can get an example of what to do I can build it for the 16 sands we have.

The formula I have in mind would be something like

=IF("30/50BH",[colorA11:D11,Yellow],[IF("20/40BH",[colorA11:D11, Purple], .......

I'm sure there is a less brute force method of doing this, but my knowledge of programming and excel is limited. I am using the 2010 version of Excel.

View 14 Replies View Related

Excel 2010 :: Macro To Insert Formula Into Cells?

Oct 6, 2011

I'm trying to create a macro to insert a formula into a specific cell. The formula is meant to check if a cell has text, and then if it does, search for the text on another page.

I had a go at the code, but keep getting Runtime error 13.

I'm using Excel 2010

Code:

Sub new_entry()
'
' NEW_ENTRY Macro
Dim rowNo As Integer

[Code]....

View 6 Replies View Related

Excel 2010 :: Formula To Display 1 If 2 Or More Cells Are Non-zero Amount?

Mar 26, 2014

The situation is that I have 3 interest income from 3 different companies. Column B acts as a helper column to determine if a partner receives just one interest income or receives multiple interest income. If they receive multiple interest income, I want column B to display a 1 and if not make it blank. If you notice partners 5, 9, and 16 contain two or more interest incomes (Columns C - E). All the cells are have either an amount (positive or negative) or a zero. There are no blank cells. Columns (F - H) contains the interest income amount if only that partner receives just one interest income. So for those partners they should not display any of their amounts. The reason is because I am using a word template and currently have to use multiple templates ( 3 in total) to display correctly for each partner. I got this to work with a word macro that will collapse all non blank columns in a particular table. This might be on a ongoing project for me as I do have more logic to solve.

Excel 2010
A
B
C

[Code]....

View 2 Replies View Related

Formula To Skip Blank Cells

Mar 9, 2011

I'm looking to create a formula that will skip past any blanks until it finds the latest and most up-to-date value.

Some context: I wish to return a latest estimate value to a cell (A5), and this value is updated quarterly. Let's say that the quater 1 value sits in cell A1, Q2 in A2, Q3 in A3 and Q4 in A4. I wish cell A5 to display the latest estimate as soon as a user updates it on a quarterly basis, but default to the previous quarter's estimate if that latest view is unavailable.

I've tried using some IF(ISBLANK...) combinations but am getting nowhere !

NB want to try and avoid Macros across this worksheet so a formula solution would be best.

View 5 Replies View Related

Excel 2010 :: VBA Repeating Formula(s) In Specified Cells Based On Defined Variables?

Dec 28, 2012

In my worksheet, I know the last line of my report AND I know how many "reporting segments" (all equidistant and identical) there are in the report based on the last row using the below (which I tested in several reports in messages):

VB:
Dim vListEnd As Variant
Dim vTaskCount As Double
vListEnd = ActiveSheet.Range("A1").Offset(Sheet1.Rows.Count - 1, 0).End(xlUp).Row
vTaskCount = ((vListEnd - 5) / 22)

My "reporting segments" are ALWAYS 22 rows each and the first one always starts in row 5. Example: A document where the last row (containing an End of Report special character) is 247 would have 11 reporting segments.

Within each reporting segment, there are two different formulas needed.

For the first reporting segment located in rows A5 thru J27:

I need FORMULA1 in all cells of the range (D5:D15 dragged out to H5:H10(not 15) and D18) and FORMULA2 in cells (F20:F22,J20:J22).

Then I need to repeat that vTaskCount number of times (number of segments) and at intervals of 22 (segment repeater offset). Some reports may have 2 segments, some might have 50, but the structure is always identical.

My formulas are all pretty simple if it makes a difference (originally using FormulaR1C1 = "=RC[-1]+RC[-3]" --- but because I now know solid cell locations I suppose I don't need to make them relative, too.)

View 2 Replies View Related

Drag Copying Formula Down While Skipping Cells In Adjacent Reference Column?

Feb 2, 2014

I have a spreadsheet with temperature data, all in one column (D), that was recorded every 10 minutes for several months. In two adjacent columns (E & F), I would like to record the daily max and min temperatures. I can manually do this with MAX and MIN formulas in column E and F respectively, MAX(D1:D144). But when I copy this formula to the next row, I get MAX(D2:D145) when what I really want is MAX(D145:D288)....and so on...

View 1 Replies View Related

Excel 2010 :: 3+ Conditional Formatting Rules For Cell Range Based On Formula From Other Cells

Feb 5, 2013

how to apply conditional formatting via VBA to a range of cells based on input from another range of cells. Obviously this would be easy in Excel 2010, but I'm still using 2003 at the office and it needs to stay in this format to be readable by other users:

For cells M8:EK8, my conditional formatting
condition 2: Formula Is =AND($E$8>=M2,(($E$8-$D$8)>=(N2-$M$2))), color index is 40
condition 3: Formula Is =AND($F$8<=M2,$G$8>=M2), color index is 39
I want to add:
condition 4: Formula Is =AND($H$8<=M2,$I$8>=M2), color index is 40
condition 5: Formula Is =AND($J$8<=M2,$K$8>=M2), color index is 39
and so on

The cells in the range M8:EK8 are blank, they only get colored based on input added to D8 to K8. If there is no input, then the cells should be uncolored.

resource tracking ex.jpg

View 1 Replies View Related

A Formula To Reference Another Page And Skip Cells To Get To Desired Results?

May 14, 2014

I am trying to find a formula that will allow me to reference another page in my spread sheet. In my scenario the row I am referencing has 5 consectutive numbers after the reference point I would use for a vlookup. These numbers are all zeros except for one number in each row which will be a positive number greater than zero. I want my formula to check the first cell in the row, if it is not a zero it will show that number, but if this cell contains 0, then it moves over to the next cell. If all the cells in the row have a zero, then i just want zero to appear on my summary sheet. I tried to do a vlookup with an IF function, but I couldn't get it to work. I have attached a sample of what the spreadsheet looks like.Example doc.xlsx

View 2 Replies View Related

Copy And Paste Portions Of Excel Worksheets - Picture Is Too Large

Dec 2, 2013

Recently, when trying to copy and paste portions of excel worksheets, I've been getting the message: The picture is too large and will be truncated.

I have copied and pasted this same way for years and the problem has just arisen over the past month. An excel issue or possibly something else and just getting the message with Excel since it's the software I'm using 90% of every day?

My files are stored on a network drive, not my hard drive.

View 2 Replies View Related

Remove Portions Of Formula Based On Surrounding Characters?

May 13, 2014

I have about 25 workbooks with 180 formulas in them that I would like changed. The formulas are all in the range I10:Q29 and all have the same basic structure:

[Code]....

I would like to remove "filepath1!cell1*filepath1!cell2-" and "filepath1!cell2-" so that only "(filepath2!cell3*filepath2!cell4)/(filepath2!cell4)" remains.

My VBA is pretty weak, but I imagine it should be possible to use something like the VBA equivalent of len() and mid() to isolate the components of the equation to the left of the - in the numerator and denominator, and remove those components (as well as the -) from the formula.

Attached File : trim formulas.xlsx

View 12 Replies View Related

Excel 2010 :: Formula To Determine If Duplicate Values Exist In Single Column (excluding Empty Cells)

Jun 29, 2012

1 workbook, 2 worksheets (or tabs). On tab 1, I want a formula/alert that tells the user if any duplicate values exist in Column A of tab 2

Tab 2, Column A, has Unique ID's (6 digit numeric values)

The user manually inputs the ID's on new rows in Column A

Row 1 is reserved and in use for something else
Row 2 is my header, so cell A2 says "ID"
Row 3-623 currently contain unique ID's

When the user inputs a new ID into cell A624, then they return to Tab 1, I want my formula/alert on Tab 1 to tell the user that they have duplicates in Column A of tab 2. I know the Conditional Formatting, but if the user copies in 100 new values, they won't necessarily see the highlighted cells. My tab 1 is my "checks and balances" and the last place the user is suppposed to look to ensure that they haven't created any duplicate ID's. If the user sees a warning message that says duplicates exist, then I'll tell them that they need to look at column A (for cells that have been conditionally highlighted).

One issue that I'm running into with the conditional highlighting is that I want cells A3:A1048576 to already have the conditional formatting - this way when the user inserts a value into Cell A624, then A625, etc they conditional formatting is already there. Right now with data in cells A3:A623, cells A624:A1048576 are all highlighted with the Red/Bold Red Font (which is okay I guess), but ideally it would be nice to not count 2+ empty cells as duplicates and I'll have to have my formula on Tab 1 not include the blank cells.

I DO NOT want to use the Remove Duplicates feature of Excel 2010. If I remove them I could be removing data in columns B, C, D, etc that belong to the Unique ID. I just need the user to be told in Tab 1 that they DO have duplicates and I'll train the user how to research this and fix it.

The reason I want to look for duplicates in the entire Column A is because the list of Unique ID's will grow over time.

View 9 Replies View Related

Drag Formula On One Vector And Reference Cells On Perpendicular Vector

Dec 21, 2012

I am wondering if there is a way to drag a formula, for instance, down, and each cell that I drag down, it references one cell to the right.

Excel Example.png

I attached a photo -- I understand that this is an overly simplified example, but the idea is that it would reference the row as you drag down the column.

View 4 Replies View Related

Excel 2010 :: Color Fill A Range Of Cells If Specific Cells Not Blank

Feb 7, 2013

I am using Excel 2010 and basically i am trying to fill a range of cell with a green color if any value was enter in a specific cells. Example: I would like to fill range: A10:c13 with a green color (regardless of the cells content in this range) if a value was entered in cell C10 or C11 or C12 or C13.

I've tried conditional formatting but unfortunately I'll have to apply formatting for every cell and for a range of over hundred cells is not efficient.

View 7 Replies View Related

Excel 2010 :: Save Cells As They Are / Register Cells With Formatting?

Jul 2, 2014

So i've been trying to do this invoice/inventory/client , I couldn't find a way to somehow register the whole invoice as it is, so i can later print/visualize it if i lost the copy or something.

It would be best if it just stayed stored in a variable and not always visible, and only appeared if i wanted to check/print it.

The whole invoice would be from A1 to F30

Excel 2010 btw

View 5 Replies View Related







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