+ Reply to Thread
Results 1 to 6 of 6

LOOKUP VALUE with IF

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    383

    LOOKUP VALUE with IF

    Hi guys,

    I was wondering whether someone could help me with the below scenario which I am trying to look for solutions/alternatives.

    For ease of reference I have attached a sample excel file.

    For the sake of example, I have a cash management sheet which is recording the monthly cash inflows of commissions which are received by different individuals. Therefore each and every month, commission money is being transferred in as seen in column F.

    After end of month, the amounts of commission which is received will be transferred to different bank accounts as seen in columns P:R. There will be 3 different transfers: commission bank account, petty cash account , or salaries account.

    My focus is the commission. This has to be transferred within 7 days after month end. Therefore if month end is 28/02/2018 the exact amount of commission received for February will have to be transferred out by 07/03/2018.

    The tricky part is that sometimes, an additional ad hoc transfer of commission might also be made within the same timeframe. Example as seen in February there were two transfers 386 and 20. The 386 is the exact amount of commission received in EUR terms. The 20 is a transfer which is done due to foreign exchange differences which might arise.

    I would like to create a check in columns Z which would show whether the commission from previous month (e.g. if date is 07/02/2018, the commission of January amounting to 537) was transferred out or not by the deadline day. The formula I would like to create is that:
    If in cell Y3, I have a date "07/02/2018" the formula would sum all the commission received for the month prior to that date i.e. from 01/01/2018 to 31/01/2018. Therefore 537. It would then lookup that 537 in column R. If the 537 is transferred by "07/02/2018" the formula should return the 537 if not a description saying "Commission hasn't yet been transferred".

    Apologies for the long description.

    Would really appreciate any ideas or help with the above

    Many thanks

    Keibri
    Attached Files Attached Files
    Last edited by Keibri; 12-07-2018 at 02:58 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: LOOKUP VALUE with IF

    I see no formulas or anything to show what money is for which account?

    How do we know that on 2/1/18 something happens to -10 for Petty Cash?
    Where are those values coming from, and based on what?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    383

    Re: LOOKUP VALUE with IF

    Hi FDibbins,

    Thanks very much for your reply!

    For the time being there are no formulas created. Columns B:F will be raw data generated in excel which show all the commission received. Column P:R will also be raw date which shows all money transferred out.

    In cell F102 there is an opening balance of 10,000. This is my initial capital. Each and every month commission is receiving and added with this capital.

    However on a monthly basis there are also expenses: like salaries, or petty cash. These are transferred out from this account (they are in no way linked with commissions received but are just expense which occur during the month and which will be transferred to a separate account)

    As you mentioned there are no formulas created, cause what you are seeing are 2 reports which will be raw data. That's why I would like to incorporate this check in cell Z3.

    Much appreciated!!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: LOOKUP VALUE with IF

    Not sure how you ID the value in Z3, I can see that it = R6, but why isnt R8 also included?

    Maybe try playing around with this, and see where you get?
    =SUMIFS(R:R,P:P,">"&EOMONTH(Y3,-1),P:P,"<="&EOMONTH(Y3,0))
    This sums ALL values in feb - you could add more criteria if you want

  5. #5
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    383

    Re: LOOKUP VALUE with IF

    Hi FDibbins,

    Sorry for my late reply. Eventually I used some of your suggestions and manged to find a workaround Thanks a lot for your help!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: LOOKUP VALUE with IF

    happy to help and thanks for the feedback

+ 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] Lookup: Lookup employee id and return value in cell x basued on most recent start date
    By jekeith in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-21-2018, 12:56 PM
  2. Two Lookup and Return (Lookup the column, then lookup the row)
    By Branbran10 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-05-2015, 04:55 PM
  3. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  4. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  5. Replies: 2
    Last Post: 05-19-2013, 08:46 AM
  6. Search lookup array to find lookup value contained within text string
    By Cookstein2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2011, 09:42 AM
  7. Replies: 7
    Last Post: 06-19-2011, 12:51 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