Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Copy row depending on column value

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Copy row depending on column value

Combine Vlookup and the If statement. If it is the sum of values use Sumif
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Copy row depending on column value

combine vlookup and if function. Use sumif it is values you need to be added
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Copy row depending on column value

Thanks for the reply. Can you explain....

Cathy

"Roelof van Wyk" wrote:

Combine Vlookup and the If statement. If it is the sum of values use Sumif

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Copy row depending on column value

I have never heard tell of the vlookup function

"Roelof van Wyk" wrote:

combine vlookup and if function. Use sumif it is values you need to be added



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Copy row depending on column value

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,Fal se),...
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Cells in a column depending on another column but excluding duplicates rwenger Excel Discussion (Misc queries) 0 April 11th 10 01:06 PM
Sum values in a column depending on start time in another column Morgan New Users to Excel 5 October 26th 09 01:02 AM
How do I copy a row depending on the content of a cell in the row Robert59 Excel Worksheet Functions 2 October 19th 07 06:26 PM
splitting one column into rows depending on the data in the column [email protected] Excel Programming 1 March 11th 06 11:48 AM
copy row depending on value to new sheet [email protected] Excel Discussion (Misc queries) 5 September 28th 05 05:27 PM


All times are GMT +1. The time now is 01:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"