Results 1 to 4 of 4

Help with IF & AND Functions

Threaded View

  1. #1
    Registered User
    Join Date
    10-10-2018
    Location
    NSW Australia
    MS-Off Ver
    2018
    Posts
    2

    Help with IF & AND Functions

    Hello,

    Im having trouble with this code, If i select multiple cells ('All Leaks'!E3:E1368) it doesn't work.


    #=IF(AND('All Leaks'!E3:E1368="Meter",'All Leaks'!B871=Rates!Q337+0),1,0)#

    It works when i select only a single cell ('All Leaks'!E871) but not if i have multiple cells selected

    #=IF(AND('All Leaks'!E871="Meter",'All Leaks'!B871=Rates!Q337+0),1,0)#

    This code's purpose is for a running total from a list, i have considered i might encounter issues relating to
    more than one variable with the same output. If that was the case would i just use a sum function at
    the end like this and plus one onto the original output cell?


    #=IF(AND('All Leaks'!E3:E1368="Meter",'All Leaks'!B871=Rates!Q337+0),SUM(E377+1),0)#

    This might be confusing but I'm really stuck, and this is my best attempt at explaining my situation,
    Thank You.

    (EDIT)

    or to put it very simply


    #=IF(E871:E873="Meter Tap",1,0)#

    when i select multiple cells on an if function it doesn't work.
    Last edited by Jordon; 10-10-2018 at 07:50 PM. Reason: Make is easier

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 08-18-2017, 11:53 AM
  2. Replies: 9
    Last Post: 06-13-2017, 01:41 PM
  3. Replies: 6
    Last Post: 03-17-2015, 01:35 AM
  4. Replies: 1
    Last Post: 02-10-2012, 05:27 PM
  5. Replies: 0
    Last Post: 11-15-2007, 05:24 AM
  6. [SOLVED] efficiency: database functions vs. math functions vs. array formula
    By nickname in forum Excel General
    Replies: 2
    Last Post: 07-13-2006, 11:30 PM
  7. [SOLVED] Conversion from Spreadsheet Toolkit functions (ESSV....) to EssBase API functions
    By sujay in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-05-2006, 05:20 AM

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