Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Macro to update a column in a work based on another work sheet

My excel knowledge is enough to be dangerous.

I have two work sheets. Both have multiple columns and two of the
columns are then same on both work sheets.
Currently, I do all the updating by hand for these columns: case # and
status.

I really need a macro or a way to update the two columns on work sheet
2 based on what is in work sheet 1.

It woudl compare a case #s and then update the status column on work
sheet 2 to match the status in work sheet 1.

I see alot with vlookup, never used it.

Regards,
Jeb
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,276
Default Macro to update a column in a work based on another work sheet

Hi,
I assume your case # in sheet1 is in column A, your status in sheet 1 in
column B, then in sheet 2 you have your case # in column c so in column D
enter

=INDEX($B$1:$B$1000,MATCH(C1,$A$1:$A$1000))

change range to fit your needs

"WickerMan" wrote:

My excel knowledge is enough to be dangerous.

I have two work sheets. Both have multiple columns and two of the
columns are then same on both work sheets.
Currently, I do all the updating by hand for these columns: case # and
status.

I really need a macro or a way to update the two columns on work sheet
2 based on what is in work sheet 1.

It woudl compare a case #s and then update the status column on work
sheet 2 to match the status in work sheet 1.

I see alot with vlookup, never used it.

Regards,
Jeb
.

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
flash object dont work in my excel work sheet Nitn Excel Discussion (Misc queries) 0 July 4th 09 08:00 AM
extracting totals from 1 work sheet to another work work sheet cj Excel Discussion (Misc queries) 2 October 27th 07 10:54 PM
Allow custom update button to work while sheet is protected mhng Excel Discussion (Misc queries) 0 July 14th 06 12:39 AM
Populating work sheet combox with another work sheet values sjayar Excel Discussion (Misc queries) 1 October 29th 05 03:22 PM
Is there away to keep "auto save" from jumping to the first work sheet in the work book? Marc New Users to Excel 2 April 21st 05 01:27 AM


All times are GMT +1. The time now is 01:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"