+ Reply to Thread
Results 1 to 4 of 4

Conditional "If Statement" Help

  1. #1
    Registered User
    Join Date
    12-12-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2010
    Posts
    18

    Conditional "If Statement" Help

    Help with conditional "If Statement"
    There are 2 worksheets "Selections" and "Member Payments"
    I am trying to achieve the following without success:-
    if "Selections!B2>0" and "Selections!A2= "7/1/12" then "Member Payments!A2" should = "Selections!B2" ($2) ...and so on
    Having trouble making reference to dates
    Attached Files Attached Files
    Last edited by malawimick; 01-23-2012 at 05:19 PM.

  2. #2
    Registered User
    Join Date
    09-26-2010
    Location
    A, A
    MS-Off Ver
    Excel 2003
    Posts
    86

    Re: Conditional "If Statement" Help

    In Member Payments!A2 use this formula...
    =if(and(Selections!B2>0,Selections!A2= Member Payments!A1),Selections!B2,FALSE)

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Conditional "If Statement" Help

    Looks like VLOOKUP should do it. Try this A2, copy across & down.

    =VLOOKUP(A$1+0,Table2,2,0)

    If your looking to extract all the information related to a date. use this in A2,

    =IFERROR(INDEX(Selections!$B:$B,SMALL(IF(Table2[Date]=A$1+0,ROW(Table2[Date])),ROWS(A$2:A2))),"")

    Confirmed with CTRL+SHIFT+ENTER rather than just ENTER, then copy down & across
    Last edited by Haseeb Avarakkan; 01-16-2012 at 11:48 PM.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    12-12-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Conditional "If Statement" Help

    Sorry Haseeb - I have not marked as solved yet as I was busy yesterday.
    Hope to resolve today

+ Reply to Thread

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