Drag Cell Formula For Paired Data
Feb 11, 2014
In my worksheet i have pairs of data from A2:A18. cell A2 is paired with A3, cell A5 to A6.
In cell C2, I have the formula =IF(A2>A3,A2,A3). then in C3 I have =IF(A5>A6,A5,A6).
I would then like to be able to drag these formulas down to C7 and take the appropriate data.
So another example, cell C4 should be =IF(A8>A9,A8,A9).
I have seen many formulas for how to drag skipping a row, but couldn't find anything on pairs of data while skipping a row as well.
The worksheet is attached : TEST.xlsx
View 3 Replies
ADVERTISEMENT
Mar 14, 2014
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A1:C2)
If I simply drag the above formula down I end up with
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A2:C3)
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A3:C4)
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A4:C5)
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A5:C6)
I am trying to drag the above formula so that it copies in the following manner:
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A3:C4)
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A5:C6)
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A7:C8)
=DCOUNT(timeg15w!$A$1:$F$3909, "WPC",Criteria!A9:C10)
How can I achieve this result?
View 3 Replies
View Related
Apr 29, 2014
I've got a lot of data like this. They are paired letter/number and I want to keep it like that.
a202b520t630s630d689
a265s687b953t953d1062
a47t547b890s890b1015
However I want to re order them in pairs so that its alphabetical eg. a 202 b 520 d 689 s 630 t 630
View 3 Replies
View Related
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
Jan 27, 2014
I am trying to drag down a formula (see below). the cell reference A6 and E6 is not updating to A7 and E7 etc etc when i drag the formula down using the corner thing. it remains constant at A6 and E6.
=HYPERLINK("#INDEX('Shipping Tracker Week X'!$F$4:$F$3000,MATCH(1,('Shipping Tracker Week X'!$B$4:$B$3000=A6)*('Shipping Tracker Week X'!$D$4:$D$3000=E6),0))","Link 1")
im pretty sure the problem comes down to the hashtag and quotation marks that i added, as the formula properly increased the cell references when i drag down without the hashtag and quotations. however, i sort of need it because adding those seems to be the only way i can get the hyperlink to link me over to the other sheet and to the correct cell containing the hyperlink.
part 2 of problem: the hashtag and quotations is currently a workaround method for me. the original intention was for the hyperlink to directly link me to a website, which is referenced from a separate sheet. however, without the hashtag and quotations, i get a "Cannot open specified file" error.
View 14 Replies
View Related
Jan 10, 2008
I making a template for multiple users to import data into for analysis. I want them to be able to delete and drag-and-drop data to get rid of any bogus values. However i need forumlas that reference those to NOT follow the values as there as moved. As a simple example say you have two columns, column A is a set of random numbers, column B is the number from coumn A times 2. If take the bottom half of column A and drag it up one cell, overwriting a cell, now the cell in column B next to the overwritten cell has a #REF err and ever cell below that now references a Cell in column A from the previous row. I want a formula that references a static address and will not follow the cell if it is moved.
If I use named ranges rather than specific cells references it works for the above example, however for my actual form it does not. Even though the ranges and formulas stay the same I start getting incorrect values. If there is no other way to this I will try to figure why the named ranges do not work.
View 3 Replies
View Related
Sep 22, 2008
I understand how to click and drag a cell or row of data but is it possible to click and drag a group of rows of data? I have 12 rows of data that will repeat itself every 12 weeks. I can "save & paste" easily enough, but just curious if there is a way to click and drag 12 rows of data so that they remain the same for every group of 12 weeks.
View 2 Replies
View Related
Jun 6, 2013
My data is like this
A
B
C
D
E
F
G
H
[code]......
now i want after the last data column to put formula "= ROUND((C2-D2)/100000,2)" in S2 similary "= ROUND((E2-F2)/100000,2)" in T2 using VBA till all data colimns upto column R are used in subsequent columns
I tried following code
Sub tot()
' This subtracts credits from debits and divides by 100000
Application.Goto Reference:=Range("s4")
Dim dr, cr, clmn, ansclmn, cln As Integer
For ansclmn = 19 To 26
[code]....
View 1 Replies
View Related
May 19, 2014
On the 'Total' sheet I'm wanting subsequent sheets to fill in on the rows. Do I have to redo the formulas for each row because it will correlate to a different sheet? I only know how to drag the formula down, but that doesn't seem to work right!
View 11 Replies
View Related
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
Jan 23, 2007
I have tried absolute and relative on the formula in A5 of this sample data below to get A6 to equal D2 and so forth down the sheet. Nothing works except typing in the formula for each cell....
View 9 Replies
View Related
Apr 23, 2007
i have a formula that needs to be dragged down 65,000 rows in excel is there a quicker way of do it than with the mouse?
View 3 Replies
View Related
Dec 16, 2013
I have sheets with over 40000 rows. I grouped them in 60 and I need the average for every group on the 61st (which is blank). For example, when collapsed I have visible the following blank cells:
A61
A122
A183
A244
and so on.
What I want is to enter a formula in A61 for the average of A1:A60 then drag down and have the correct values in all the rest (average of A62:A121 in A122, etc.).
View 4 Replies
View Related
Jul 29, 2008
I want the range to stay as i put it without it +1 when i drag the formula down my spreadsheet, below is the formula im using (for a creche in case your wondering)
=IF(G5<A8,"Baby",IF(G5<A16,"Wobbler", IF(G5<A24,"Toddler",IF(G5<A30,"Playschool","Please use DD/MM/YYYY FORMAT"))))
G5, A16, is taken from a list of dates down the side so i need these to remain constant otherwise my formula goes out.
View 3 Replies
View Related
Nov 9, 2013
i wanna to put check boxes in colums d4:d41 with a formula inside which beginning with this formula (=Sheet1!$D$4) in cell d4.how to copy and drag down this formula into d5:d41?
View 8 Replies
View Related
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
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
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
Sep 10, 2007
Is there an easy way to drag all the references to a cell in a formula quickly e.g If i have a formula like this is;
=IF(A1>0, A1+1,A1-1)
and want to drag all the references to the cell A1 to another cell in one go as opposed to one at a time?
View 6 Replies
View Related
Mar 3, 2009
I have a database of names, (several hundred). These names are divided between 3 columns beginning at Row 20, C:20, D:20, E:20 Each name is within it's own cell. The entire list has been given a Named Range : ("Names_List"). Here's an example
Bob Mary Jane
Ted Frank Tom
Sue Fred Frank
Joe Tim Sue
Bren Max Lee
Luc John Paul
Frank Joe Ted
Karl Mary Jane
The names often repeat throughout these columns. Is it possible to create a script which can detect paired names? Say, to have an indication of a letter "x" in an offset column wherever these paired names appear. As an example, If i want to locate the names Frank and Ted, I could type these names in a blank cell, then run the script,( via a button) in which an indication of "x" would appear in an offset column. To look something like this:.........
View 4 Replies
View Related
Mar 15, 2009
1. I have data A1, A2, A3....down a column.
2. I have one value on C2 ( constant value)
3. the formula is a very simple multiplication formula. I want to multiply every single value of column A to C2. But it needs to be in across a row that starts in
D4. So,formula needs to be in (D4, E4, F4) there are other datas in the worksheet
4. So when I input =$A1*$C$2 in D4 it calculates it fine but when i try to drag the formula across the row so [E4=$A2*$C$2, F4=$A3*$C$2...]
it repeates the same fomula as D4 and does not adjust for the increase in column number.
View 3 Replies
View Related
Feb 14, 2008
i noticed that when i have a formula that refers to a table, such as:
= sumifs(table1[heading4],table1[heading1],"A",table1[heading2],true)
i can copy-paste it, i also can fill (right or left) a selected range with it,
but, i cannot copy it (right or left) by dragging.
View 3 Replies
View Related
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
Apr 26, 2009
This formula in E1 has worked before. I have attached an example, in reality Column A and B have 2000 rows and column D about 250 randomized numbers out of Column B that need to be paired with their equal in Column A.
View 4 Replies
View Related
Nov 9, 2008
i have consolidates five paired lists on same worksheet into a new list? Each pair of columns (First Column (Acct #) and Second Column (Day N Count)) contains numbers and the range of data in each column and/or row will be unknown each week, so need the formula to auto adjust. New list should have this format:......
View 4 Replies
View Related
Jun 17, 2014
In the attached workbook, see the "P & L" tab, cells I30 to I48. The idea of the formula I have placed into these cells is to drag out the figures from column I in the "Trial Balance" tab of the workbook. A similar formula is used succesfully in the "balance sheet" tab in Column B. I don't understand why the formula doesn't work in the cells i've specified in in the " P & L" tab it seems to work for I8 and the rows immediately below it "revenue".
UK Trial Balance May 2014 V2.xlsx
View 5 Replies
View Related
Oct 8, 2008
I can drag it down to fill a series of cells within a column.
Let's say the formula in cell A1 is:
View 5 Replies
View Related
Dec 5, 2008
I am using a VLOOKUP formula, but when I drag it down it doesn't keep the same array selection. Is there a way so that I can drag it and it relates to the cell to the left, but the array selected stays the same. I don't really want to type the same thig out for every cell as there are 6000. I am using: =VLOOKUP(D2,Working!A2:C23,2,FALSE) and want D2 to change accordingly but for working!A2:C23 to stay the same.
View 2 Replies
View Related
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
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
View Related