+ 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"...............)

    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
    Thanks for your time
    Attached Files Attached Files
    Last edited by subrato312; 06-02-2017 at 03:23 AM.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Dynamic Range in Formula from text

    Hi subrato312- Can you use a dynamic Named Range?
    CurRNG =OFFSET(Sheet1!$Z7,0,0,1,COUNTA(Sheet1!$Z7:$CC7))

    criteria1 = IF(COUNTIF(CurRNG,"G")>3,"R"...........) -
    Last edited by leelnich; 06-02-2017 at 03:21 AM.

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

    Re: Dynamic Range in Formula from text

    Please check the attachment...ok, will try using offset

  4. #4
    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

+ 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] Dynamic Range in Formula from text
    By subrato312 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-02-2017, 05:15 AM
  2. [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
  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. [SOLVED] search a text cell CONTAINING matching text in a dynamic range (not exact match)
    By msgoldcup@gmail.com in forum Excel General
    Replies: 4
    Last Post: 04-02-2012, 07:37 AM
  7. [SOLVED] Dynamic Range with unused formula messing up x axis on dynamic graph
    By cabybake@yahoo.com in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-02-2006, 04:10 PM

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