Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Bob Bob is offline
external usenet poster
 
Posts: 972
Default update a cell with info from another row

I need to update a cell with info from another row.

Use A to find the correct row inn C. Move the value D into cell B:

A B C D
1 x 1 123
3 x 2 234
5 x 3 345
..... 4 456
..... 5 567

becomes:

A B C D
1 123 1 123
3 345 2 234
5 567 3 345
..... 4 456
..... 5 567


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default update a cell with info from another row

Have a look in the help index for Vlookup

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Bob" wrote in message
...
I need to update a cell with info from another row.

Use A to find the correct row inn C. Move the value D into cell B:

A B C D
1 x 1 123
3 x 2 234
5 x 3 345
.... 4 456
.... 5 567

becomes:

A B C D
1 123 1 123
3 345 2 234
5 567 3 345
.... 4 456
.... 5 567



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 470
Default update a cell with info from another row

I don't know what your limits are in terms of how many rows are involved (you
show 5), but here are two formulas. Just use one of the two:

1) If the entire column (C and D) are used, use this formula. I will use
B1 as the first cell for the formula. Copy and paste accordingly:
=LOOKUP(A1,C:C,D:D)

2) If you are only using x-number of rows, then use this formula. Again
using B1.
Adjust the number of rows within the formula to fit your list.
=LOOKUP(A1,C1:C5,D1:D5)

Good Luck,
Les

"Bob" wrote:

I need to update a cell with info from another row.

Use A to find the correct row inn C. Move the value D into cell B:

A B C D
1 x 1 123
3 x 2 234
5 x 3 345
.... 4 456
.... 5 567

becomes:

A B C D
1 123 1 123
3 345 2 234
5 567 3 345
.... 4 456
.... 5 567


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
info update from a webpage Need Info Excel Discussion (Misc queries) 1 March 5th 07 12:24 AM
Auto Update Info from Different Sheets? silencebreaking Excel Discussion (Misc queries) 3 June 12th 06 03:44 PM
How to automtcly update th date in cell if info in row changes? nycm Excel Discussion (Misc queries) 1 February 1st 06 08:11 AM
update info on 2 sheets @ same time dg Excel Worksheet Functions 3 May 29th 05 12:17 AM
Paste Functions and Update info jackle Excel Worksheet Functions 2 May 24th 05 06:55 PM


All times are GMT +1. The time now is 04:20 PM.

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"