Results 1 to 10 of 16

Thread: Reference A Cell Conditionally Using ADDRESS And INDIRECT Functions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Quote Originally Posted by Excel Fox View Post
    .. I thought that both the first characters of the two cells would be the same. That's why I've excluded that.
    fair enough.

    Also, the formula you suggested above leaves a trailing 'x' because there's a blank character in the end. A trim can be added
    Thanks.

    if both the first characters are same, you can use this as well.

    =IF(ROWS(B$2:B2)>1,SUBSTITUTE(MID(TRIM($B$1),ROWS( B$2:B2),1)," ","x"),SUBSTITUTE(MID(TRIM($A$2),COLUMNS($B2:B2),1 )," ","x"))
    Last edited by Admin; 06-04-2013 at 03:59 PM.
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

Similar Threads

  1. Replies: 2
    Last Post: 01-24-2013, 09:03 PM
  2. Indirect Address Column Formula help needed
    By trankim in forum Excel Help
    Replies: 4
    Last Post: 10-13-2012, 02:15 PM
  3. Replies: 1
    Last Post: 08-21-2012, 07:36 PM
  4. Get last Filled Cell address in a Range.
    By Rajan_Verma in forum Rajan Verma's Corner
    Replies: 3
    Last Post: 03-24-2012, 01:08 AM
  5. Excel Macro Functions (GET.CELL)
    By Admin in forum Excel and VBA Tips and Tricks
    Replies: 1
    Last Post: 05-17-2011, 08:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •