Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Skip Reference Sequences during copy

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 457
Default Skip Reference Sequences during copy

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Skip Reference Sequences during copy

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Skip Reference Sequences during copy

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
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
Skip columns and copy formulas [email protected] Excel Discussion (Misc queries) 13 March 15th 07 05:54 AM
Skip cells and copy formulas [email protected] Excel Discussion (Misc queries) 5 February 13th 07 06:50 PM
Skip and copy formulas [email protected] Excel Worksheet Functions 1 February 12th 07 09:18 PM
How can i get a IF formula to skip to the next reference box Craig Turley - Emerson Excel Worksheet Functions 0 February 16th 06 02:48 PM
How do I copy cells and skip lines? con_jon Excel Discussion (Misc queries) 1 February 17th 05 09:59 PM


All times are GMT +1. The time now is 11:03 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"