#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default cell ref

thank you very much that did the trick

"Rick Rothstein" wrote:

Well, that description has a lot more useful information than your first
posting. Put this formula in B1 on Sheet1 and copy it down as far as you
think you need to...

=IF(A1="","",LOOKUP(A1,Sheet2!A$1:A$8,Sheet2!B$1:B $8))

Change the 8 in the A$8 and B$8 to the row number for your last product code
on Sheet2 (so the range covers all your product codes on Sheet2).

--
Rick (MVP - Excel)


"markwmansell" wrote in message
...
Well I dont think thats what Im after let me try again.

say in sheet 1 you put say 2345 in any cell it auto puts SC in the cell
next
to it because is looks look in sheet 2 which will have 2345 in say A1 and
in
B1 it will have SC in it am I making any sense. Its a bit like having a
list of product codes and products on sheet2, when you put a product code
in
sheet1 it puts the product name in for you next to the product code.


"Rick Rothstein" wrote:

Let's say the cell you want to check for the number 1 in it is D4 and you
want D5 to display "sc" whenever D4 is 1, then put this formula in D5...

=IF(D4=1,"sc","")

In other words, you don't (can't) push a value into another cell from the
cell you are in; rather, you have that other cell look into a specific
location and react to what is in it.

--
Rick (MVP - Excel)


"markwmansell" wrote in message
...
can i link cells so when ever i put can 1 in a cell it will auto put sc
in
the cell next to it?




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
Return cell address of a cell based on contents of cell. Danny Excel Worksheet Functions 4 November 15th 08 03:11 AM
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 [email protected] Excel Worksheet Functions 1 August 22nd 08 02:04 AM
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell [email protected] Excel Worksheet Functions 2 November 7th 07 09:39 AM
Inputting cell value from source cell based on value in adjacent cell. michaelberrier Excel Discussion (Misc queries) 3 December 9th 06 09:16 PM
How to create/run "cell A equals Cell B put Cell C info in Cell D abmb161 Excel Discussion (Misc queries) 5 January 26th 06 06:36 PM


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