Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Copy row depending on column value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cathy W - 22 Mar 2006 14:08 GMT
Hi.  I have an excel template that opens a workbook and takes values from it
using the INDIRECT function in cells.  What I need to do now is look at Sheet
4 in the workbook and copy rows only if column B is equal to "CAT" or "DOG".  
Is this possible?

Cathy
Roelof van Wyk - 22 Mar 2006 14:34 GMT
Combine Vlookup and the If statement. If it is the sum of values use Sumif
Cathy W - 22 Mar 2006 14:40 GMT
Thanks for the reply.  Can you explain....

Cathy

> Combine Vlookup and the If statement. If it is the sum of values use Sumif
Roelof van Wyk - 22 Mar 2006 14:39 GMT
combine vlookup and if function. Use sumif it is values you need to be added
Cathy W - 22 Mar 2006 14:51 GMT
I have never heard tell of the vlookup function

> combine vlookup and if function. Use sumif it is values you need to be added
Roelof van Wyk - 22 Mar 2006 15:43 GMT
Will take some time, use the help files.

Vlookup - Searches for a value in the leftmost column of a table, and then
returns a value in the same row from a column you specify in the table. In
combining if before the vlookup you could get the answer you want i.e.
=if(A3="cat",Vlookup(a1,Sheet!'sheet1'A1:c20,3,False),...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.