ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   copying specific data from 1 wrksht to another (https://www.excelbanter.com/excel-worksheet-functions/68918-copying-specific-data-1-wrksht-another.html)

flrty

copying specific data from 1 wrksht to another
 
I have 1 tab of "raw data" and would like to extract only rows of data with
specific values. I am using this formula currently:
=IF(ISERROR(VLOOKUP($B$3,rawdata,1)),"",(VLOOKUP($ B$3,rawdata,1)))
but it will only return 1 row of data, and when I copy the formula down, I
just get the same data all the way down ....

HELP !

Pete

copying specific data from 1 wrksht to another
 
Remove the $ from in front of the 3, as follows:

=IF(ISERROR(VLOOKUP($B3,rawdata,1)),"",(VLOOKUP($B 3,rawdata,1)))

then copy this down - you will have $B4, $B5, $B6 etc in the next few
cells. I assume "rawdata" is a named range in the other sheet.

Hope this helps.

Pete



All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com