Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Moving cells based on certain criteria

Wondering how to move some cells.

Basically I want to say that if for instance on Sheet 1 "C4" is greater than
"1" then move cells "A4, B4, C4, D4, and E4" to a particular spot on Sheet 2.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Moving cells based on certain criteria

In your "particular spot(s)", enter:

=IF(Sheet1!C4"1",A4,"")
=IF(Sheet1!C4"1",B4,"")
etc.

If you want to compare C4 to the *number* 1, rather than the string "1",
then don't enclose it in quotes.

In article ,
halvy52 wrote:

Wondering how to move some cells.

Basically I want to say that if for instance on Sheet 1 "C4" is greater than
"1" then move cells "A4, B4, C4, D4, and E4" to a particular spot on Sheet 2.

Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Moving cells based on certain criteria

Didn't really do anything at all. Maybe this will help.

Sheet 1:

A4 - Description
B4 - empty
C4 - 1 (could be any number greater than 0)
D4 - $2.00 (Price)
E4 - =C4*D4 (Total Price)

Basically I want to enter a number higher than zero in the C4 (Quantity)
cell and then have it automatically paste A4 - E4 over to Sheet 2 in the cell
I choose.

"JE McGimpsey" wrote:

In your "particular spot(s)", enter:

=IF(Sheet1!C4"1",A4,"")
=IF(Sheet1!C4"1",B4,"")
etc.

If you want to compare C4 to the *number* 1, rather than the string "1",
then don't enclose it in quotes.

In article ,
halvy52 wrote:

Wondering how to move some cells.

Basically I want to say that if for instance on Sheet 1 "C4" is greater than
"1" then move cells "A4, B4, C4, D4, and E4" to a particular spot on Sheet 2.

Any ideas?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Moving cells based on certain criteria

Ok. I have something now. I did this on sheet 2. This only copies one cell
at a time. Is there a way to make it copy all of the cells using one formula?

=IF(Sheet1!$C40,Sheet1!$A4,"")

"JE McGimpsey" wrote:

In your "particular spot(s)", enter:

=IF(Sheet1!C4"1",A4,"")
=IF(Sheet1!C4"1",B4,"")
etc.

If you want to compare C4 to the *number* 1, rather than the string "1",
then don't enclose it in quotes.

In article ,
halvy52 wrote:

Wondering how to move some cells.

Basically I want to say that if for instance on Sheet 1 "C4" is greater than
"1" then move cells "A4, B4, C4, D4, and E4" to a particular spot on Sheet 2.

Any ideas?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Moving cells based on certain criteria

First, functions only return values to their calling cells, they can't
paste values anywhere.

So in Sheet2:

A4: =IF(Sheet1!$C40,Sheet1!A4,"")

Copy from B4 to E4.


You COULD use an array formula: Select Sheet2!A4:E4 and enter with
CTRL-SHIFT-ENTER:

=IF(Sheet1!C40,Sheet1!A4:E4,"")

but there's no significant advantage to doing so.

In article ,
halvy52 wrote:

Didn't really do anything at all. Maybe this will help.

Sheet 1:

A4 - Description
B4 - empty
C4 - 1 (could be any number greater than 0)
D4 - $2.00 (Price)
E4 - =C4*D4 (Total Price)

Basically I want to enter a number higher than zero in the C4 (Quantity)
cell and then have it automatically paste A4 - E4 over to Sheet 2 in the cell
I choose.

"JE McGimpsey" wrote:

In your "particular spot(s)", enter:

=IF(Sheet1!C4"1",A4,"")
=IF(Sheet1!C4"1",B4,"")
etc.

If you want to compare C4 to the *number* 1, rather than the string "1",
then don't enclose it in quotes.

In article ,
halvy52 wrote:

Wondering how to move some cells.

Basically I want to say that if for instance on Sheet 1 "C4" is greater
than
"1" then move cells "A4, B4, C4, D4, and E4" to a particular spot on
Sheet 2.

Any ideas?




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Moving cells based on certain criteria

See the reply to your other post.

In article ,
halvy52 wrote:

Ok. I have something now. I did this on sheet 2. This only copies one cell
at a time. Is there a way to make it copy all of the cells using one
formula?

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
is it possible to make certain cells required based on criteria Mim Excel Worksheet Functions 0 September 19th 06 04:26 PM
Fill cells with color based on criteria in two cells AA Excel Worksheet Functions 2 January 2nd 06 11:29 PM
SUM cells together based on 2 criteria Ivano Excel Worksheet Functions 3 September 19th 05 12:58 AM
moving cells based certain value Rose Davis New Users to Excel 1 August 29th 05 09:53 PM
copying cells based on criteria tdro Excel Worksheet Functions 0 June 15th 05 02:17 PM


All times are GMT +1. The time now is 04:43 PM.

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

About Us

"It's about Microsoft Excel"