Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
is it possible to make certain cells required based on criteria | Excel Worksheet Functions | |||
Fill cells with color based on criteria in two cells | Excel Worksheet Functions | |||
SUM cells together based on 2 criteria | Excel Worksheet Functions | |||
moving cells based certain value | New Users to Excel | |||
copying cells based on criteria | Excel Worksheet Functions |