+ Reply to Thread
Results 1 to 4 of 4

Adapting formula

  1. #1
    Registered User
    Join Date
    10-05-2015
    Location
    Canada
    MS-Off Ver
    2010 pro
    Posts
    6

    Question Adapting formula

    Hello again,

    been answered so fast and professionally. have great hopes for this next one.

    so here's the situation:

    I'm entering several measurements for given dimensions, little formula checks if it's inside tolerances

    and prints out either X if it's off and Pass if it's in

    and at the end of my document if all measurements feature a Pass it prints out Accepted and if not Rejected.

    depending on what i'm measuring. the number of different dimension can change.

    right now i'm using =if(OR(A1="X",A2="X",A3="X",...), "Rejected", "Accepted)

    i'd like my formula to adapt to the number of dimension so if 5 it checks 5 cells, if 10 checks 10 and so on.

    Appreciate if anyone can figure it out or if it's even possible


    Thank you,
    Last edited by Xsane; 10-05-2015 at 12:30 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,410

    Re: Adapting formula

    Suspect that you can just use COUNTIF to count the number of X's. I'm guessing that any X is a Reject.

    So, just something like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-05-2015
    Location
    Canada
    MS-Off Ver
    2010 pro
    Posts
    6

    Re: Adapting formula

    seems to work good. will put it to the test. clever solution didn't even think about that.

    thank you appreciate it a lot.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,410

    Re: Adapting formula

    You're welcome. Thanks for the rep.

+ 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. adapting IF-formula
    By bV79 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-07-2015, 01:50 AM
  2. Help with adapting formula destination to other cell
    By Triplesdd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2014, 05:00 PM
  3. [SOLVED] Adapting my Formula to incorporate a new rule.
    By JRidge in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 12-16-2013, 01:44 PM
  4. Difficulties adapting an intercept formula
    By ndw123 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-16-2013, 05:01 PM
  5. Adapting an IF formula..
    By Guygettinby in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2011, 04:13 PM
  6. Adapting a Formula to fit new parameters
    By grey9192 in forum Excel General
    Replies: 2
    Last Post: 08-18-2010, 09:46 AM
  7. [SOLVED] Adapting an array formula
    By sixwest in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-28-2006, 03:40 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