Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Cell A1 countsif a value appears in cells b1; b2 or b3. I want to copy cell
A1 into cell A2 etc but want the countsif reference to jump to b4; b5 or b6. Currently if I copy it down to A2 the reference changes to b2; b3 and b5. I need to copy hundreds of cells like this and I'm trying to avoid doing it manually. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sometihng like this:
=COUNTIF(OFFSET($B$1,INT((ROW(A1)-1)*3),,3),"Find me") -- Best Regards, Luke M "sly411" wrote in message ... Cell A1 countsif a value appears in cells b1; b2 or b3. I want to copy cell A1 into cell A2 etc but want the countsif reference to jump to b4; b5 or b6. Currently if I copy it down to A2 the reference changes to b2; b3 and b5. I need to copy hundreds of cells like this and I'm trying to avoid doing it manually. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks. It worked perfectly but I don't understand why.
"Luke M" wrote: Sometihng like this: =COUNTIF(OFFSET($B$1,INT((ROW(A1)-1)*3),,3),"Find me") -- Best Regards, Luke M "sly411" wrote in message ... Cell A1 countsif a value appears in cells b1; b2 or b3. I want to copy cell A1 into cell A2 etc but want the countsif reference to jump to b4; b5 or b6. Currently if I copy it down to A2 the reference changes to b2; b3 and b5. I need to copy hundreds of cells like this and I'm trying to avoid doing it manually. . |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks. Works great. A follow on question - how do I use the same capability
in Conditional formatting in the Applies To field. I have the following formula to check for a condition: =IF(CB3="Reg",MOD(CA3-BZ3,1)TIME(0,$AG$39,0),IF(CB4="Reg",MOD(CA4-BZ4,1)TIME(0,$AG$39,0),IF(CB5="Reg",MOD(CA5-BZ5,1)TIME(0,$AG$39,0)))) Essentialy what it does is check if a value (Reg) is present in one of 3 sequential rows and if so calculates if the time difference between two related values in the same row are greater than a predetermined number. If TRUE then the cell is formatted. The formula works fine for a single cell but when I use the Applies To field in CF and highlight the column I want to apply it to, it increments the rows one at a time instead of jumping is groups of 3. Can I somehow use Offset in the CF Applies To field? Thanks. "Luke M" wrote: Sometihng like this: =COUNTIF(OFFSET($B$1,INT((ROW(A1)-1)*3),,3),"Find me") -- Best Regards, Luke M "sly411" wrote in message ... Cell A1 countsif a value appears in cells b1; b2 or b3. I want to copy cell A1 into cell A2 etc but want the countsif reference to jump to b4; b5 or b6. Currently if I copy it down to A2 the reference changes to b2; b3 and b5. I need to copy hundreds of cells like this and I'm trying to avoid doing it manually. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Skip columns and copy formulas | Excel Discussion (Misc queries) | |||
Skip cells and copy formulas | Excel Discussion (Misc queries) | |||
Skip and copy formulas | Excel Worksheet Functions | |||
How can i get a IF formula to skip to the next reference box | Excel Worksheet Functions | |||
How do I copy cells and skip lines? | Excel Discussion (Misc queries) |