+ Reply to Thread
Results 1 to 13 of 13

Need to fix IF AND formula for Windows Excel 365 MSO(Version 2308)

  1. #1
    Registered User
    Join Date
    04-11-2024
    Location
    Memphis, TN
    MS-Off Ver
    6.83 (24031120)
    Posts
    7

    Need to fix IF AND formula for Windows Excel 365 MSO(Version 2308)

    Hi Guys,

    I really need help on this formula: =IF(AND(L9=0,N9<0),'Open AR'!C4,'Unapplied Cash & Proposed Appl'!H9)
    I am trying to use the credits to clear as many invoices until the credit balance is 0. My formula states " if the invoice balance = o, and the remaining receipt amount is less than 0(meaning there's still a credit balance left), pull the next invoice number on the open AR sheet to the apply to invoice column. If false, reuse the same invoice until the invoice equals 0." The problem I have with this formula is the true statement (Open AR'!C4,), continues to move to the next row even when the same invoice number is being repeated. So finally when the invoice equals 0, instead of it using the next invoice which would be C5, it will skip all the invoices and use whatever invoice is on the row when I do the autofill. I just need Open AR'!C4 to stay constant if the same invoice is being repeated, then when a new invoice is pulled to change to the next corresponding row.
    Attached Files Attached Files
    Last edited by Shaybay01; 04-13-2024 at 11:21 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Need to fix IF AND formula

    Administrative Note:

    Welcome to the forum.

    Is your forum profile showing the Excel PRODUCT that you need this to work for?

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The three most recent Excel products are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-11-2024
    Location
    Memphis, TN
    MS-Off Ver
    6.83 (24031120)
    Posts
    7
    Quote Originally Posted by AliGW View Post
    Administrative Note:

    Welcome to the forum.

    Is your forum profile showing the Excel PRODUCT that you need this to work for?

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The three most recent Excel products are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.


    Sorry the version is MS 2308!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Need to fix IF AND formula

    What is the PRODUCT?

  5. #5
    Registered User
    Join Date
    04-11-2024
    Location
    Memphis, TN
    MS-Off Ver
    6.83 (24031120)
    Posts
    7
    Quote Originally Posted by AliGW View Post
    What is the PRODUCT?
    It’s is for Windows.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Need to fix IF AND formula

    No. The product: is it Excel 2019, Excel 2021 or Excel 365?

  7. #7
    Registered User
    Join Date
    04-11-2024
    Location
    Memphis, TN
    MS-Off Ver
    6.83 (24031120)
    Posts
    7
    Quote Originally Posted by AliGW View Post
    No. The product: is it Excel 2019, Excel 2021 or Excel 365?
    I am so sorry. Thank you so much for being patient. It’s Excel 365 MSO( Version 2308)

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Need to fix IF AND formula for Excel 365 MSO(Version 2308)

    Your file is FULL of error messgaes, as the formulae in it refer to other files which we do not have access to. Please remove those external links AND show us your expected answers, calculated manually. We can do NOTHING with your current sample file.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Need to fix IF AND formula for Excel 365 MSO(Version 2308)

    It’s Excel 365 MSO( Version 2308)
    That needs to be added to your forum profile, please. If it's for Mac, add that, too.

    Then provde an amended workbook sample as requested in post #8.

  10. #10
    Registered User
    Join Date
    04-11-2024
    Location
    Memphis, TN
    MS-Off Ver
    6.83 (24031120)
    Posts
    7
    Quote Originally Posted by AliGW View Post
    That needs to be added to your forum profile, please. If it's for Mac, add that, too.

    Then provde an amended workbook sample as requested in post #8.
    Will do thank you. This is my first time posting so I apologize.

  11. #11
    Registered User
    Join Date
    04-11-2024
    Location
    Memphis, TN
    MS-Off Ver
    6.83 (24031120)
    Posts
    7

    Re: Need to fix IF AND formula for Excel 365 MSO(Version 2308)

    Hi Guys,

    I hope I followed your instructions correctly. I've attached the sample version and a word doc explaining the formulas and the errors I am running into.
    Attached Files Attached Files
    Last edited by Shaybay01; 04-13-2024 at 11:20 AM.

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,572

    Re: Need to fix IF AND formula for Windows Excel 365 MSO(Version 2308)

    Try the following formulas:
    For column A:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that for long receipt numbers that don't start with zero you may need to format the cell as Number with no decimal places (see cell A49)
    For column E:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  13. #13
    Registered User
    Join Date
    04-11-2024
    Location
    Memphis, TN
    MS-Off Ver
    6.83 (24031120)
    Posts
    7
    Quote Originally Posted by JeteMc View Post
    Try the following formulas:
    For column A:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that for long receipt numbers that don't start with zero you may need to format the cell as Number with no decimal places (see cell A49)
    For column E:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    I will test this out. Thank you so much!

+ 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. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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