Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default find value in column and move row to 5 rows after the last one..........

Hi there'

i've tried looking on these posts but i need a macro to find the word
"books" in column E and then every time it finds this word copy it to
the end of the last row.

I'd then like it to subtotal the data with "books" in column E at the
end and also the data before that which I think should be 5 rows
before.

I don't use the total formula because I dont to split all my
categories in column E. Only books......

I hope this makes sense.

Sometimes not so easy to see things on here.......

thanks in advance for you help,

Andrea

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default find value in column and move row to 5 rows after the lastone..........

Maybe instead of rearranging/duplicating your data, it would be better to use a
different function.

It kind of sounds like you could use something like:

=sumif(e:e,"books",F:f)
or
=sumif(e:e,"*books*",F:f)

If you're summing column F.

*books* (with the asterisks) will find book within the cell.
books (without the asterisks) will sum only based on a match in the entire
cell.



" wrote:

Hi there'

i've tried looking on these posts but i need a macro to find the word
"books" in column E and then every time it finds this word copy it to
the end of the last row.

I'd then like it to subtotal the data with "books" in column E at the
end and also the data before that which I think should be 5 rows
before.

I don't use the total formula because I dont to split all my
categories in column E. Only books......

I hope this makes sense.

Sometimes not so easy to see things on here.......

thanks in advance for you help,

Andrea


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default find value in column and move row to 5 rows after the last one..........

Hi Peter

How can I automatically insert a row then in order to split the books
section - place the books section to the end.........???


thanks for this though,

looks like i could use it,

Andrea

On 6 Jun, 22:56, Dave Peterson wrote:
Maybe instead of rearranging/duplicating your data, it would be better to use a
different function.

It kind of sounds like you could use something like:

=sumif(e:e,"books",F:f)
or
=sumif(e:e,"*books*",F:f)

If you're summing column F.

*books* (with the asterisks) will find book within the cell.
books (without the asterisks) will sum only based on a match in the entire
cell.





" wrote:

Hi there'


i've tried looking on these posts but i need a macro to find the word
"books" in column E and then every time it finds this word copy it to
the end of the last row.


I'd then like it to subtotal the data with "books" in column E at the
end and also the data before that which I think should be 5 rows
before.


I don't use the total formula because I dont to split all my
categories in column E. Only books......


I hope this makes sense.


Sometimes not so easy to see things on here.......


thanks in advance for you help,


Andrea


--

Dave Peterson- Hide quoted text -

- Show quoted text -



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
Macro to find and move column andrea Excel Discussion (Misc queries) 1 October 9th 08 02:22 PM
find and move data within a column Craig[_24_] Excel Programming 0 February 24th 06 06:17 PM
Excel VBA Need to rotate players - find / copy last 3 rows and move to the top sam s via OfficeKB.com Excel Programming 4 September 24th 05 10:49 AM
Move a Column to rows soddydj Excel Discussion (Misc queries) 2 July 29th 05 04:54 PM
Move Cell in Column A to Column B when FIND juan Excel Programming 2 April 6th 04 10:20 PM


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