+ Reply to Thread
Results 1 to 13 of 13

If Statement (Match/Index)

  1. #1
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    If Statement (Match/Index)

    Good Morning,

    i am trying to automate a sheet which is completely done manually till now, below is the scenario

    2 sets of sheets

    Sheet 1 is raw data and sheet 2 is the summary or status of the facilities

    Sheet 2 banking liabilities or facilities
    i have to calculate automatically how much we have used from our business finance line and how much we can still use
    business finance two main categories and every category have sub category so here is the logic

    Sheet 2 Col G
    if Sheet 1 Col A = Bank ID (Sheet 2) and Col B = Loan ID (Sheet 2) and Col C = Loan Type (Sheet2) and Col G (Loan Status) = "Not Paid" then bring the value of Col F (Loan amount)
    All the col described are in sheet 1

    i think i have made the logic very clear so if the bank id matches in summary and raw data it should then match the loan type and loan category and if that is not paid then bring the value of that loan into summary which can be deducted from the credit limit.

    any help is highly appreciated.

    Thanks In advance

    Usman

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If Statement (Match/Index)

    Good morning to you too.

    It's will be easier for all of us, if you'll upload a small sample workbook.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: If Statement (Match/Index)

    here is the sample of the file, its is raw form and have to work more to bring it to a set format once have the formula in place and good understanding of the formula

    hope this sheet will help
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If Statement (Match/Index)

    Sorry but i am not able to following you.

    Maybe someone else?

  5. #5
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: If Statement (Match/Index)

    please look at the sample file and you will understand

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If Statement (Match/Index)

    Be sure that i did!

    .
    ..Sheet 2 Col G
    if Sheet 1 Col A = Bank ID (Sheet 2) and Col B = Loan ID (Sheet 2) and Col C = Loan Type (Sheet2) and Col G (Loan Status) = "Not Paid" then bring the value of Col F (Loan amount)
    All the col described are in sheet 1
    Where are all these?

  7. #7
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: If Statement (Match/Index)

    its not in there yet that what i have to create in summary sheet the raw data is all there, i just defined the logic of the function i want to have

  8. #8
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: If Statement (Match/Index)

    for Example BankID = NBF
    Loan ID = TR
    Loand type = Usance
    if Status "not paid"
    bring value of Total amount Payable from data sheet

    hope you get it now

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If Statement (Match/Index)

    Quote Originally Posted by usmanfarok View Post
    for Example BankID = NBF
    Loan ID = TR
    Loand type = Usance
    if Status "not paid"
    bring value of Total amount Payable from data sheet

    hope you get it now
    In this case, try.

    =SUMIFS(FULL!$U$2:$U$675,FULL!$B$2:$B$675,"NBF",FULL!$E$2:$E$675,"TR",FULL!$Y$2:$Y$675,"Not Pd")

  10. #10
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: If Statement (Match/Index)

    can u explain how it work like step by step calculation method, because it will help me in understanding the formula as well as make necessary changes within the formula if needed

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If Statement (Match/Index)

    =SUMIFS(FULL!$U$2:$U$675,FULL!$B$2:$B$675,"NBF",FULL!$E$2:$E$675,"TR",FULL!$Y$2:$Y$675,"Not Pd")

    Red color is the range that you want to sum, IF, ALL the other conditions are TRUE.

  12. #12
    Registered User
    Join Date
    04-25-2012
    Location
    Dubai, UAE
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: If Statement (Match/Index)

    you've made my day ive been working on this from couple of days, thank you very much.

    i have learned and new thing in excel today.

    Thanks Again .................!!

  13. #13
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: If Statement (Match/Index)

    You are welcome!

    Thanks for the reb*

+ 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