LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Comparing cell contents, know cell address

Here is my situation:

-A user enters one of any number in an input cell. Say for example he
enters 10.
-I need to look at cell B12 in this case (actually will always be "B" &
input_number +2, so if they enter 5, I need to look at B7).
-Now I need to look at the contents of this cell B12, which contains the
word "Jim" for example. I then need to compare cell B12 (or whatever cell,
as this will vary), to the next cell down, B13, see if B12=B13.

There may be an easy way to do this, but I can't get it to work. I tried
creating a variable, that took input_number and converted it to "B" & input
number +2. So now I have a varaible that = B12 (will vary based on their
input number). Then tried do =CELL("contents", variable) to pull out the
value of "Jim". Didn't work. I can't enter in B12 here, because that will
vary. Thought the dynamic variable would accomplish that, but doesn't seem
to work.

Any help appreciated. Thanks
 
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
Comparing cell contents via VB RajenRajput1 Excel Discussion (Misc queries) 5 June 29th 07 05:37 PM
Comparing Cell Contents in 2 or More Columns ConfusedNHouston Excel Discussion (Misc queries) 2 June 18th 07 03:08 PM
Comparing two daily files by changing the cell address Fanny Excel Discussion (Misc queries) 5 March 6th 07 01:09 PM
Comparing cell contents with different reference cells Martin B Excel Worksheet Functions 3 November 22nd 06 07:10 PM
linking to contents of a cell vs cell address AinSF Excel Worksheet Functions 0 September 6th 06 06:57 PM


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