+ Reply to Thread
Results 1 to 3 of 3

Multiple If-Then value pairs: compact formulation

  1. #1
    Registered User
    Join Date
    10-14-2013
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2003, 2010
    Posts
    9

    Multiple If-Then value pairs: compact formulation

    Hi

    It seems kind of unsatisfactorily stupid to have multiple If-Then value pairs written like this (at least when multiple means 30+):

    Please Login or Register  to view this content.
    However the following "reduction" is not equivalent:

    Please Login or Register  to view this content.
    How, then, could it actually be accomplished?

    Thank you for helping.

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Multiple If-Then value pairs: compact formulation

    If it is consistently every three rows, you can for...next loop it

    untested;

    Please Login or Register  to view this content.
    That code will go down to Q326 and F326. Adjust the values as desired.
    Last edited by Speshul; 10-20-2014 at 11:41 AM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Registered User
    Join Date
    10-14-2013
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2003, 2010
    Posts
    9

    Re: Multiple If-Then value pairs: compact formulation

    Hi Speshul

    Exactly what I was looking for! Thank you very much.

+ 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] Check if a value is between any one of multiple pairs of values
    By ungers in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 08-14-2014, 07:51 PM
  2. How to best compare multiple pairs of numbers
    By Willis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2014, 09:07 PM
  3. [SOLVED] Need multiple columns converted into pairs, please help, thanks!
    By aphex242 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-19-2013, 06:51 AM
  4. [SOLVED] Is there a compact way to write multiple AND statements?
    By Blue_Diamond in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-14-2012, 07:18 PM
  5. [SOLVED] XY scatter plot with multiple data pairs for each variable
    By gpotavin in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-05-2006, 03:50 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