Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to get the row of a specified cell content

Hello,

i would like to do a simple thing :

in sheet1, i have a colum with numbers in it and a column with some
comments for each number.

in sheet2, i would like to automatically copy the information of the
"comments" column when i enter in a cell one of the number present in
the sheet1.

how can i do that ?

fabien
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default How to get the row of a specified cell content

Hi
a formula approach: On sheet two in cell B1 enter
=IF(A1="","",VLOOKUP(A1'sheet1'!$A$1:$B$100,2,0))

if cell A1 on sheet two contains your manually entered
number/value

-----Original Message-----
Hello,

i would like to do a simple thing :

in sheet1, i have a colum with numbers in it and a column

with some
comments for each number.

in sheet2, i would like to automatically copy the

information of the
"comments" column when i enter in a cell one of the

number present in
the sheet1.

how can i do that ?

fabien
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default How to get the row of a specified cell content

Fabien,

You probably want to use the VLOOKUP function. For example,

=VLOOKUP(A1,Sheet!A1:B100,2,FALSE)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"fabe" wrote in message
om...
Hello,

i would like to do a simple thing :

in sheet1, i have a colum with numbers in it and a column with

some
comments for each number.

in sheet2, i would like to automatically copy the information

of the
"comments" column when i enter in a cell one of the number

present in
the sheet1.

how can i do that ?

fabien



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
copy comment content to cell content as data not as comment Lilach Excel Discussion (Misc queries) 2 June 21st 07 12:28 PM
Conditional cell background formatting, based on cell content nosivad Excel Discussion (Misc queries) 5 February 11th 06 11:12 PM
Excel - create button to replace cell content with cell value blackmot Excel Worksheet Functions 3 December 7th 05 05:10 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


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