Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 82
Default Find data and copy and paste

Hi,

I would like help locating the Code listed in column B (example of
code.."BG47")from the olddata sheet, copy the date located in column F and
paste it into the currentdata sheet into column J where the same Code from
column B from olddata sheet is found in column B of the currentdata sheet
keeping the same date format. I'd then like to have a formula put into
column K2 to last row showinf the difference in days between column J and F.
Finally I'd like to bold rows on currentdata sheet that have column B data
ends with numbers 50 or 00 and sort ascending 1st by column E dates if it
exists and 2nd by column D which always exists.

Thanks so much in advance.
--
By persisting in your path, though you forfeit the little, you gain the
great.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Find data and copy and paste

I would like help locating the Code listed in column B (example of
code.."BG47")from the olddata sheet, copy the date located in column F and
paste it into the currentdata sheet into column J where the same Code from
column B from olddata sheet is found in column B of the currentdata sheet
keeping the same date format.


In column J, use a formula like

=VLOOKUP(B2,'OldData Sheet'!B:F,5,False)

and format that cell as a date. Then copy the formula down to match your data in column B.

I'd then like to have a formula put into
column K2 to last row showinf the difference in days between column J and F.


In K2, use the formula

=ABS(J2-F2)

and copy down to match your data.

Finally I'd like to bold rows on currentdata sheet that have column B data
ends with numbers 50 or 00


Select the cells that you want to format that way, then use Conditional Formatting with the custom
formula

=OR(RIGHT($B2,2)="00",RIGHT($B2,2)="50")

and sort ascending 1st by column E dates if it
exists and 2nd by column D which always exists.


Select the table and do the sort.


HTH,
Bernie
MS Excel MVP


"DavidH56" wrote in message
...
Hi,

I would like help locating the Code listed in column B (example of
code.."BG47")from the olddata sheet, copy the date located in column F and
paste it into the currentdata sheet into column J where the same Code from
column B from olddata sheet is found in column B of the currentdata sheet
keeping the same date format. I'd then like to have a formula put into
column K2 to last row showinf the difference in days between column J and F.
Finally I'd like to bold rows on currentdata sheet that have column B data
ends with numbers 50 or 00 and sort ascending 1st by column E dates if it
exists and 2nd by column D which always exists.

Thanks so much in advance.
--
By persisting in your path, though you forfeit the little, you gain the
great.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 82
Default Find data and copy and paste

Thanks for your response Bernie,
I'd tried the formula and copying down with the fill handle, but only one
date showed in all cells. Also I'd like to get these in vba if possible.

Thanks again.
--
By persisting in your path, though you forfeit the little, you gain the
great.



"Bernie Deitrick" wrote:

I would like help locating the Code listed in column B (example of
code.."BG47")from the olddata sheet, copy the date located in column F and
paste it into the currentdata sheet into column J where the same Code from
column B from olddata sheet is found in column B of the currentdata sheet
keeping the same date format.


In column J, use a formula like

=VLOOKUP(B2,'OldData Sheet'!B:F,5,False)

and format that cell as a date. Then copy the formula down to match your data in column B.

I'd then like to have a formula put into
column K2 to last row showinf the difference in days between column J and F.


In K2, use the formula

=ABS(J2-F2)

and copy down to match your data.

Finally I'd like to bold rows on currentdata sheet that have column B data
ends with numbers 50 or 00


Select the cells that you want to format that way, then use Conditional Formatting with the custom
formula

=OR(RIGHT($B2,2)="00",RIGHT($B2,2)="50")

and sort ascending 1st by column E dates if it
exists and 2nd by column D which always exists.


Select the table and do the sort.


HTH,
Bernie
MS Excel MVP


"DavidH56" wrote in message
...
Hi,

I would like help locating the Code listed in column B (example of
code.."BG47")from the olddata sheet, copy the date located in column F and
paste it into the currentdata sheet into column J where the same Code from
column B from olddata sheet is found in column B of the currentdata sheet
keeping the same date format. I'd then like to have a formula put into
column K2 to last row showinf the difference in days between column J and F.
Finally I'd like to bold rows on currentdata sheet that have column B data
ends with numbers 50 or 00 and sort ascending 1st by column E dates if it
exists and 2nd by column D which always exists.

Thanks so much in advance.
--
By persisting in your path, though you forfeit the little, you gain the
great.




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
Find matching date in another worksheet, copy and paste data Shoney Excel Discussion (Misc queries) 1 November 8th 07 11:45 PM
Find last column, move formulas over, copy/paste data Mike R. Excel Worksheet Functions 0 September 19th 07 06:40 AM
find last row in one column and copy + paste data to same row in a Eric_G Excel Programming 2 July 31st 07 06:36 PM
Find/Copy/paste.. then Find/Paste - not working ... at all.... [email protected] Excel Programming 9 November 30th 06 08:49 PM
Find Copy and Paste RigasMinho Excel Programming 4 July 17th 06 09:32 PM


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