Use VLookup And Skip 10 Rows When Dragging Down?
Sep 13, 2013
I have used VLookup function to reference some information between books. The formula used is:
=VLOOKUP('[Book1.xls]Sheet1'!$A15,'[Book1.xls]Sheet1'!$A$7:$BA$67,12,0)
When I drag down I want the formula to skip from $A15 to $A25 and so on. Is there a way to do this? Or am I better off using another formula?
What I am trying to achieve is:
Book2 Cell D54 = Book1 Cell L15
Book2 Cell D55 = Book1 Cell L25
Book2 Cell D56 = Book1 Cell L35
View 3 Replies
ADVERTISEMENT
Dec 3, 2013
I have 2 sheets in my excel document. The first sheet (sheet1) has student data (grade they got on a test) from C5:C35 all in 1 column. On the 'second' sheet (sheet3), I have made a profile for each student (there are 30 of them, spread out 1 per printable page). I want to take Sheet1!C5 result and put it in sheet3!D7. The formula in sheet3!D7 would just be =sheet1!C5. I want to 'drag' that formula to L7, then to T7 then to AB7 etc etc (they are all 8 columns apart), obviously not affecting any of the cells between them.
There are 12 pieces of data in sheet1 that I want to auto update in sheet3, for 30 students, so copy pasting, and adjusting the formula would take a long time.
View 7 Replies
View Related
Nov 15, 2009
How do you make the Autofill function increment in blocks, e.g. instead of increment 1,2,3 increment 1,8,15 inthe following example: I have a 2 worksheets, one with days of the year across columns and values down rows, and another that summarises the sum of the corresponding days in weeks, so I have 365 columns in sheet 1 and 52 columns in sheet2. Everytime I update the sum range i cannot autofill it in the summary worksheet, as A1:G1 autofills to B1:H1, but I want it to increment to H1:N1.
View 3 Replies
View Related
Mar 26, 2014
I am trying to get this tricky formula to work with vlookup and if error. The problem is that excel will not recognize the formula when I try to drag it down, but instead repeats the same numbers over again. I've tried some combinations using vlookup, rows, and if error, but it doesn't seem to work. So I'm trying to drag down the formula from g3:g99, to reference either cells b8:99, or whichever value I enter into f1, on down to b99.
View 4 Replies
View Related
Oct 2, 2009
I have the following forumlas in consecutive Rows on Tab#2 of my file:
Row 1: =(Tab#1!B12 + Tab#1!B13)
Row 2: =(Tab#1!B24 + Tab#1!B25)
Row 3: =(Tab#1!B36 + Tab#1!B37)
Is there any way to drag this formula down the rows below it so that each time it continues this pattern. Just to be clear the pattern is that each time you drag down a row it goes 12 rows in the formula.
View 9 Replies
View Related
Jan 23, 2010
I have two excel sheets. One is databank & second is list. Our data in databank sheet.
sheet : databank
column a is : name
column b is : address1
column b is : address2
column c is : city
column d is : district
sheet : list
column a is : name
column b is : city
column c is : district
Now i want in list sheet : name match with city & district respectively relevent name.
View 6 Replies
View Related
Mar 18, 2009
Below is the data I have.
Say I need to get values from Column C. VLOOKUP'ed values return the first value, but i need it to move on to the next result if the first one = 0.
so I will get
123 - not 0, but 0.22
234 - 0.1
345 - 0.....
View 9 Replies
View Related
Aug 21, 2013
Let's say I have a value in B2, and a formula in C2. If I drag the formula from C2 all the way down to C20 (spreading it 18 times), the formula wants the value in B2, B3, B4, etc.. down to B20. How do I drag a formula, but have it always reference B2?
View 1 Replies
View Related
Apr 9, 2007
I have 2 worksheets. On worksheet 1, I want to copy every 8th row in Column A. I want to copy the data from these cells onto worksheet 2. I want the data to appear on every other row on worksheet 2. To summarize, I'm trying to copy the data from every 8th row in one column BUT I want it to appear on every other row in another column.
I tried hiding the cells I don't need but then I can't sum.
View 9 Replies
View Related
Jan 21, 2010
I've got a pretty nice Worklist setup in Excel that enables you to organize all the work you need to do in a month. However i end up with little holes in the list whenever i finish a task because what my macroes does is whenever a job is marked as done on the list it moves that job to sheet2, which contains completed jobs. I'd like to have a macro that shifts all the rows 1 down whenever a job is completed(ill just call it from the job complete macro) but it needs to jump over(skip) row 26 because that row contains some images that my macros use. Altso i would like to, if possible avoid inserting any rows or cells or hiding them because that will totally mess up my macros :p I know i know, im not dynamic enough.
I've included a sample of the worksheet so you can see what i want.
By the way, I've altso got some trouble with a public function.
View 14 Replies
View Related
Apr 18, 2012
This formula holds good for regular offsets (7 cells).
how to copy a formula that skip rows?
How to get the values from irregular offsets...??
View 5 Replies
View Related
Nov 25, 2013
I would like to know how do I skip a row if the data in that row is the same as previous rows?
Say I have a column of names, and John is in row 1 and 5, and I want to store this column of names in array, but I dont want to have two Johns inside it. How do I skip row 5 then?
View 4 Replies
View Related
Jul 17, 2013
I'd like to know if is possible and how to move up rows that I change a value for example the column time has a row with value 02:00 and I change the value to 01:00 and the row moves up
Also when I change the value to 00:00 how to move up the row and when printing skip these rows.
View 1 Replies
View Related
Jul 16, 2009
I want my macro to consider the # of rows of data on a spreadsheet and insert values into columns for those rows but then stop when it hits a blank one. For simplified example below, I have 3 columns in my spreadsheet. Row 1 has headers of Location, Status, and Effective Date. The first 5 rows of data under the headers have a value in the Location column (San Jose, Oakland, etc). When I run the macro, I want it to insert a value of "ACTIVE" in the Status column for each row that has a value in the Location column. Also, a single Effective Date value is stored in a cell elsewere in the spreadsheet, and I want the macro to insert that value in the Effective Date column for each row that has a value in the Location column. When it hits a blank row - row 7 in this spreadsheet - I want it to stop.
Location| Status | Effective Date
San Jose
Oakland
Austin
Houston
Phoenix
I currently am using an IF statement in the Status column fields to say if Location = blank, then blank, else "ACTIVE". That works, except that the # of rows populated in Location column could be 5 or 1,000, and inserting the formula that many times seems to quickly increase the file size.
View 3 Replies
View Related
Nov 24, 2008
I have a spreadsheet which contains data for crime incidents occurring in a month. I have created a worksheet which uses "IF" statements to pull in data that occurred within the last 24 hours only. I would like to create a report that can be printed which has a crime category and lists all the incidents for that category below that occurred during the day. The issue I am having is that all "IF" and "LOOKUP" statements are line for line and I want to be able to skip blanks or where it is not the category in the title.
View 4 Replies
View Related
Jan 10, 2012
Can a macro make a workbook everytime you copy, it will paste special formulas only and skip blank rows? And can I still let me select the range manually? I would like to use this to link workbooks.
View 2 Replies
View Related
Mar 7, 2013
I have a list in Excel, and it has the company in one column, and it's information in the next x rows until there is a blank row (4-7 rows). I get that you can copy the rows under the Company, transpose next to the company, and then delete the contents of the cells that you just took the data from, but I have 6200 rows do to this to, for 500+ companies. I tried recording a macro for two entries, and this is what I have (see below), but how do I modify this so that I don't need to type in every single range, and it will do it to the whole column? The data is in column A, I am posting in column B.
Basics for Macro Requirement:
1. Find the blank cell in row A
2. Skip the next cell/row (this is the company)
3. Select all the cells beneath the company cell, until it reaches the blank cell underneath
4. Copy, transpose these cells next to the Company cell (transpose in column B)
5. Delete the contents in row A that were just transposed
6. Find the next cell with data (company)
7. Repeat Steps 2-6
My recorded Macro:
Sub Macro2()
'
' Macro2 Macro
'
' Keyboard Shortcut: Ctrl+q
'
Range("A3:A8").Select
[code]....
View 5 Replies
View Related
Jun 22, 2007
I have done a search and I think this is possible but just can't convert any of the examples to work for me.
This is the calcuilation I would normally enter -
=VLOOKUP(A80,'[CF227.xls]Sheet1'!$A$9:$J$9,10,FALSE)
However I don't want the cell 10 rows across when a match is found I want the figure 10 rows across and then 2 rows down from that point. i.e. if the match is in row A9 I want to return the figure in J11.
View 4 Replies
View Related
Jul 14, 2009
i have a sheet with alot of data, its a contacts list. colum A is Company name, B contact name, C address, D postcode. One row = one contact. On the next sheet i want to have on column with each contact set out as if it wer on an envelope, so i did the formula:............
if i select all of this space and try to drap the formula down the next cell fills with =sheet1!A11......I want it to say =sheet1!A3. If i cant drag it down then I am going to have to manually write this formula 100000000000 times.....anyoning.
View 5 Replies
View Related
Dec 19, 2007
How Do You Drag This Formula Down A Column & Make It Progress And Still Have $'s
This:
=$a$1
=$a$2
Not This
=$a$1
=$a$1
I Dont Want To Have To Drag The Formula And Then Manually Put In The $'s
View 9 Replies
View Related
May 27, 2009
In row 3 I have values horizontally. (A3 to Z3)
i link C5 to A3.
If I drag it vertically it does not give the correct values.
Is it possible to drag it in a correct way?
I tried =INDEX($A$3:$X$3,ROWS($A$3:$A3))
View 9 Replies
View Related
Apr 6, 2014
How can I have it so the column (letter) changes in succession rather than the row (number)? Here is my formula :
=SUMPRODUCT(('Web Queries Reference'!A$2:A$600<>-1)*('Web Queries Reference'!A$2:A$600))-0.01
I would like it to be this once I drag the cell formula down to the next row :
=SUMPRODUCT(('Web Queries Reference'!B$2:B$600<>-1)*('Web Queries Reference'!B$2:B$600))-0.01
View 14 Replies
View Related
Jun 23, 2014
In one sheet i have a table with 154450 lines from a software output converted in a table , in another sheet i made a table to 'sanitize' and make 'human-readable' the first one referring to some of the cells.
It works fine but, i have to drag the last line to repeat the formula and, as you can imagine, hard to think i will drag for 154450 lines ^^.
View 3 Replies
View Related
Dec 28, 2009
I have found an inconsistency in different PCs with respect to the method of producing incrementation when dragging a grab handle to an adjacent cell. In some PCs just dragging produces the effect, in others a key has to be held down during the drag. I'm sure there are detailed instructions about such a setting, but I have been unable to find them.
View 9 Replies
View Related
Oct 22, 2008
Is there a way to protect a sheet from a user dragging a cell?
View 6 Replies
View Related
Sep 19, 2013
I'm looking to easily drag the sum of certain cells in a different column BUT keeping a specific range, it's hard to explain so i'll show an example...
A1
A2
A3
A4
A5
A6
A7
A8
B1=SUM(A1:A4)
B2=SUM(A4:A7)
B3=SUM(A8:A11)
And so on...
Is there any way I can do this by dragging down the cell formula from B1 and it remembering the range of 4, so I don't have to manually select each range...?
View 3 Replies
View Related
Jan 31, 2007
Here's my Formula:
Range("H2:S2").Select
Selection.AutoFill Destination:=Range("H2:S2702"), Type:=xlFillDefault
Range("H2:S2702").Select
This is dragging the formula to the end of the report. My dilemma is that this was captured with the macro recorder. Is there a way to change "S2702" with whatever row Column S ends with? Meaning this formula will be used on different sized reports so the numbers will vary. I just need a direct statement to compensate however large the report is.
View 9 Replies
View Related
Mar 3, 2007
I have obviously hit a combination of keys that has turned this function off. I can no longer drag and fill cells with a formula, it will only copy the original text/value into adjacent cells. How can I fix this??
View 9 Replies
View Related
May 9, 2006
I have an excel workbook with two sheets:
1. Data.
2. TR.
Once the choices are made (dropdown lists) and the button is clicked, TR sheet is filled. I need a macro that would drag the cells of E4,J4,O4,T4. To the cell beneath them, once data is filled in either C or D, H or I, M or N, R or S. The dragging of the cells will display the results (column E,J,O,T), thus, totals will appear in the CONS sheet.
View 2 Replies
View Related
Jan 5, 2008
I need to check the result of the difference between 2 cells in the same column. But It needs to be done with an increment of 2 e.g. A2-A1 then A4-A3 and so on.
View 5 Replies
View Related