Results 1 to 12 of 12

IF function performing logical test on multiple cells

Threaded View

Omni IF function performing... 11-11-2009, 01:11 AM
teylyn Re: IF function performing... 11-11-2009, 01:15 AM
Omni Re: IF function performing... 11-11-2009, 01:34 AM
Omni Re: IF function performing... 11-11-2009, 02:06 AM
teylyn Re: IF function performing... 11-11-2009, 02:08 AM
Omni Re: IF function performing... 11-11-2009, 02:17 AM
teylyn Re: IF function performing... 11-11-2009, 02:30 AM
DonkeyOte Re: IF function performing... 11-11-2009, 03:39 AM
teylyn Re: IF function performing... 11-11-2009, 03:44 AM
Omni Re: IF function performing... 11-11-2009, 12:12 PM
Omni Re: IF function performing... 11-12-2009, 02:02 AM
NUWAN GUNAWARDHANA Re: IF function performing... 12-01-2012, 01:37 AM
  1. #1
    Registered User
    Join Date
    11-11-2009
    Location
    Waterloo, Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    6

    IF function performing logical test on multiple cells

    Hi everyone,

    So my current problem is that I want to use the IF function to perform the logical test on a column of cells instead of just one cell.

    I realize that this can be done by copying the IF function to multiple cells but the way my spreadsheet is currently set up doesn't allow me to do that.

    To be more specific, I am trying to use the below function:
    =IF(DATE(YEAR('SheetTwo'!$P:$P),MONTH('SheetTwo'!$P:$P),1)='SheetOne'!C3,SUMIF('SheetTwo'!$B:$B,"P",'SheetTwo'!$R:$R),0)
    What I am trying to do is to go through a column of dates, extract the month and compare each month with a specific month. If the date matches up, I want to sum up data in an adjacent field based on another "equal to" criteria.

    I know the SUMIF portion is working fine but I am at a lost as to how to perform an IF logical test on a column of cells (compare a column of cells one by one to another specific cell) all in one cell (without having to use multiple cells and summing things up).

    Maybe this will be an interesting riddle for you guys =)

    Any help or advice is much appreciated!

    I forgot to mention that Excel doesn't let me use the IF function on a column of cells, haha. Well, it does but it isn't working as I expect it to as described above.
    Last edited by Omni; 11-12-2009 at 02:04 AM.

Thread Information

Users Browsing this Thread

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

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