+ Reply to Thread
Results 1 to 4 of 4

Dynamic Range in Formula from text

  1. #1
    Registered User
    Join Date
    08-14-2015
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    13

    Dynamic Range in Formula from text

    Dear All,

    I have a list of criteria with different "IF" conditions for all criteria. i.e for criteria1 "GGG" it should use If(xxxx) formula and for criteria "GGR" it should use If(yyy) formula. As the no. of criteria is large and all have unique If formula (around 64) , I need to apply each unique "IF" formula on my data.

    My method:I wrote all "IF" formula for 64 criteria (text format) and used vlookup to call the formula and using "Evaluate" in Name Manager to apply the formula. But the problem is in all "IF" formula the Range is fix as written in formula. How to make this dynamic in datasheet. (Z7:AE7 as shown below)

    criteria1 = IF(COUNTIF(z7:ae7,"G")>3,"R"...........) -
    criteria1 = IF(COUNTIF(z7:ae7,"G")>2,"G"...............)

    Thanks for your time

    attachment: Pls check attachment, there will be easier way to do I guess. Based on criteria for first three time periods, (there are 64 criteria )each criteria requires counting G,B+,B- and R and accordingly call it as A/B/C/D
    Attached Files Attached Files
    Last edited by subrato312; 06-02-2017 at 03:21 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Dynamic Range in Formula from text

    Will you please attach a sample Excel workbook? I suspect that there is a much more efficient way of doing what you are trying to do.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-14-2015
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    13

    Re: Dynamic Range in Formula from text

    Solved!!! Instead of using countif I used Name-Manager

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Dynamic Range in Formula from text

    Thanks for letting us know.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] SUMIF formula with dynamic column range and then expand the width of SUM range
    By gravythief in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2017, 08:36 AM
  2. Sum Dynamic Range of Values Based on Text Style
    By DCCARGEEk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2016, 03:09 PM
  3. [SOLVED] chart based on dynamic range which resizes as per data in range-formula / vba
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2014, 04:02 PM
  4. [SOLVED] Change Static Range of Formula to Dynamic Range
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-24-2014, 10:15 AM
  5. [SOLVED] Dynamic Range selection Text to columns
    By Pavan Renjal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-12-2013, 07:02 AM
  6. Replies: 4
    Last Post: 04-02-2012, 07:37 AM
  7. Replies: 2
    Last Post: 02-02-2006, 04:10 PM

Tags for this Thread

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