+ Reply to Thread
Results 1 to 3 of 3

Identifying identical values in dynamic ranges

  1. #1
    Registered User
    Join Date
    10-06-2008
    Location
    Munich, Germany
    Posts
    8

    Identifying identical values in dynamic ranges

    Hi all!

    Can someone help me with the following (simplified) problem?

    I have two worksheets, A and B.

    A contains three columns with currency codes (EUR, USD, CHF, etc.):

    Please Login or Register  to view this content.
    I now want to analyze these columns according to the following rules and write a result in a cell in worksheet B:
    • include all filled columns
    • if all currencies in the filled columns are the same, write that currency to the cell in B
    • if they are not, write "XXX" in the cell in B

    Is there a way to realize this with formulas? My problem is the part where I need to have Excel recognize how many of the columns are actually relevant for the analysis (i.e., defining the range dynamically).

    Any ideas?

    Regards

    Matthias

  2. #2
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    All cells in all columns or all cells in each column?

    What impact is an empty cell?

  3. #3
    Registered User
    Join Date
    10-06-2008
    Location
    Munich, Germany
    Posts
    8
    Hi xld,

    all cells in each row. I want to know for each row if the value for all currency columns is identical.

    If a cell is empty, I want to exclude it from the comparison, i.e. check whether the value in the other two columns is identical. Equally, if two cells are empty in one row, the validation should of course return a 'true'.

    Regards
    Matthias

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Naming dynamic ranges with VBA and INDIRECT
    By inky in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2008, 06:53 PM
  2. name dynamic ranges with VBA
    By robotlust in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2008, 01:04 PM
  3. Stacking dynamic ranges
    By Steven Fleck in forum Excel General
    Replies: 7
    Last Post: 11-21-2007, 02:42 PM
  4. Problems with SumProduct and Dynamic Ranges
    By ThrowerMatt in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-18-2007, 07:38 PM
  5. Using COUNTIFS with dynamic ranges?
    By Kagemucha in forum Excel General
    Replies: 5
    Last Post: 07-01-2007, 11:25 AM

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