Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Updating a cell

I need to know how to do the following.

I have an empty cell next to a cell with a value.
I want to take that cell with a value and compare it to the values found in
a column contained in another worksheet. That column would have a companion
cell that contains a value.
When a match is found I want the original empty cell to contain the value of
the companion cell next to the column were the matching value was found.

So if my original value was 8, I find 8 in a cell in the column, the
companion cell value was 88, then my original empty cell would get a value of
88.

I hope I explained that clearly enough.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Updating a cell

In the empty cell - for example purposes, assume it is F2 and the cell with
a value is G2. We are looking in Sheet2 in columns B:C

=Vlookup(G2,Sheet2!B:C,2,False)

Then if there are more values in column G, drag fill the formula down column
F.

--
Regards,
Tom Ogilvy

"Brian3D" wrote in message
...
I need to know how to do the following.

I have an empty cell next to a cell with a value.
I want to take that cell with a value and compare it to the values found
in
a column contained in another worksheet. That column would have a
companion
cell that contains a value.
When a match is found I want the original empty cell to contain the value
of
the companion cell next to the column were the matching value was found.

So if my original value was 8, I find 8 in a cell in the column, the
companion cell value was 88, then my original empty cell would get a value
of
88.

I hope I explained that clearly enough.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Updating a cell

I'm gona give it a try and let you know!

Apprecate the help Tom!

"Tom Ogilvy" wrote:

In the empty cell - for example purposes, assume it is F2 and the cell with
a value is G2. We are looking in Sheet2 in columns B:C

=Vlookup(G2,Sheet2!B:C,2,False)

Then if there are more values in column G, drag fill the formula down column
F.

--
Regards,
Tom Ogilvy

"Brian3D" wrote in message
...
I need to know how to do the following.

I have an empty cell next to a cell with a value.
I want to take that cell with a value and compare it to the values found
in
a column contained in another worksheet. That column would have a
companion
cell that contains a value.
When a match is found I want the original empty cell to contain the value
of
the companion cell next to the column were the matching value was found.

So if my original value was 8, I find 8 in a cell in the column, the
companion cell value was 88, then my original empty cell would get a value
of
88.

I hope I explained that clearly enough.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Updating a cell

Hey Tom gave the formula a try, didn't work.

I'll try to give you a better explaination of what I'm trying to do.

I have two sheets in a workbook.
Sheet 1, Cell A2 is empty and Cell B2 has data.
On sheet 2 Cell A2 and Cell B2 have data.
I want to compare sheet 1 B2 to sheet 2 A2. If I have a match I want sheet 2
B2's data to fill sheet 1 A2.
The catch is I need to look at the entire column of sheet 2 A2 for a match.

The reason for all this is I have a spread sheet filled with data. It was an
export from Access.

Sorry my first explanation was not clear, I posted it with little sleep.

Agian, thanks for any help you can give.

"Brian3D" wrote:

I'm gona give it a try and let you know!

Apprecate the help Tom!

"Tom Ogilvy" wrote:

In the empty cell - for example purposes, assume it is F2 and the cell with
a value is G2. We are looking in Sheet2 in columns B:C

=Vlookup(G2,Sheet2!B:C,2,False)

Then if there are more values in column G, drag fill the formula down column
F.

--
Regards,
Tom Ogilvy

"Brian3D" wrote in message
...
I need to know how to do the following.

I have an empty cell next to a cell with a value.
I want to take that cell with a value and compare it to the values found
in
a column contained in another worksheet. That column would have a
companion
cell that contains a value.
When a match is found I want the original empty cell to contain the value
of
the companion cell next to the column were the matching value was found.

So if my original value was 8, I find 8 in a cell in the column, the
companion cell value was 88, then my original empty cell would get a value
of
88.

I hope I explained that clearly enough.




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
CELL UPDATING Bala Excel Worksheet Functions 3 December 29th 07 04:39 PM
Updating a cell JonathanW Excel Discussion (Misc queries) 1 March 22nd 07 03:31 AM
updating a cell value Ray H. Excel Discussion (Misc queries) 2 February 2nd 06 03:55 AM
Updating the Sum of a cell Teddy54 Excel Worksheet Functions 0 November 18th 05 10:01 PM
Updating the Sum of a cell Teddy54 Excel Worksheet Functions 2 November 18th 05 09:12 PM


All times are GMT +1. The time now is 04:09 AM.

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"