Hi,
Actually if your trying to pull all rows that have a "Quoting" string in Column B, then Vlookup() is not really the way to go... instead try these steps.
In any available cell in Quote Backlog Report sheet, enter this formula:
=COUNTIF('Booking Report'!$B$5:$B$147,"Quoting")
Then in the first cell where you want to start retrieving info enter this formula:
=IF(ROWS($A$1:$A1)>$A$2,"",INDEX('Booking Report'!C$5:C$147,SMALL(IF('Booking Report'!$B$5:$B$147="Quoting",ROW('Booking Report'!C$5:C$147)-ROW($A$5)+1),ROWS($A$1:$A1))))
where $A$2 is the cell you put the Counti() formula in.
Note: After you enter the formula in the cell you must confirm it with CTRL+SHIFT+ENTER not only ENTER...You'll see {} brackets appear around the formula.
This will start retrieving info from column C of your Booking Report. You can now drag the formula as far right as needed to get all info and down as far as necessary to get all relevant rows. When you start seeing blanks, you have retrieved all relevant info.
If your ranges are different or your Sheet3 is named differently you will have to adjust those first and re-confirm with CSE key combo before copying over.
Let me know how it goes....if you can't get it to work, post your workbook here (zipped) and I will look at it.
Good Luck.
EDIT:
Added clarification of what $A$2 is in the formula.
Bookmarks