Results 1 to 8 of 8

Excel 2007 : Display cell address if condition is matched

Threaded View

arthurz11 Display cell address if... 10-10-2011, 09:17 PM
ConneXionLost Re: Display cell address if... 10-10-2011, 09:38 PM
arthurz11 Re: Display cell address if... 10-10-2011, 11:20 PM
arthurz11 Re: Display cell address if... 10-10-2011, 11:34 PM
ConneXionLost Re: Display cell address if... 10-11-2011, 01:06 AM
arthurz11 Re: Display cell address if... 10-11-2011, 12:34 PM
ConneXionLost Re: Display cell address if... 10-11-2011, 01:00 PM
arthurz11 Re: Display cell address if... 10-11-2011, 02:24 PM
  1. #1
    Registered User
    Join Date
    11-12-2007
    Posts
    18

    Display cell address if condition is matched

    Display cell address if condition is matched

    --------------------------------------------------------------------------------

    For Excel 2003 or 2007: I want to display the CELL ADDRESS and not the values when a condtion is met. For example: In column A1:A10 you have positive numbers or negative numbers. The same in column B1:B10. Column A are the x coordinates and B are y coordinates.

    In cell C1 I input 2 and in D1 I input -4. If the coordinates 2,-4 matches the exact coordinates of A1,B1 then I want to display the CELL ADDRESS of where those values matched not the values.

    Formulas in cell E1 it will display $A$1 and in cell F1 it will display $B$1 instead of 2,-4. If it doesn't match then it displays nothing. Please help

    I've tried the following but didn't work.

    CELL E1:
    {=IF(AND($C$1=0,$D$1=0),"",IF(SUM(($A$1:$A$10=$C$1)*($B$1:$B$10=$D$1)*1)>0,address,""))}

    CELL F1:
    {=IF(AND($C$1=0,$D$1=0),"",IF(SUM(($A$1:$A$10=$C$1)*($B$1:$B$10=$D$1)*1)>0,address,""))}
    Last edited by arthurz11; 10-11-2011 at 02:29 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1