+ Reply to Thread
Results 1 to 4 of 4

IF FUNCTION - How do I get Excel to execute my formula?

  1. #1
    Registered User
    Join Date
    02-04-2020
    Location
    Maryland, USA
    MS-Off Ver
    Microsoft Office 365 ProPlus on Windows 10
    Posts
    2

    Lightbulb IF FUNCTION - How do I get Excel to execute my formula?

    Hello,
    I am no Excel expert, but I am really interested in learning more, so I find myself in a challenge where my mind wants to create a formula but I have no clue how to get the program to execute what is in my head!

    I am trying to create a simple spreadsheet that tracks payments placed against multiple, different Purchase Orders so that all I have to do is enter the PO number and the formula will automatically fill in the last-entered balance for that PO into the cell.

    In the attached example I have entered a manual version, which I can continue to maintain myself but realistically, the data I'm working with involves about 30 different PO account numbers to manage and if I can get help with developing a formula that automatically pulls the balance of the previous PO number, then that would make my workload a lot more efficient.

    Using Row 14 as an example in the attached spreadsheet, the best way I can describe the formula I want to create is:

    IF A14 is a true match to any of the values in column A, then the value entered in B14 will equal the last remaining balance from Column F for that matching PO number.

    Ideally, the formula would recognize that the value I entered in A14 is PO-001 and will automatically pull the last value entered in Column F for PO-001, which is F13 ($635.00). Continuing, in the next Row 15 of my example, the formula would recognize PO-002 entered in A15, then it would pull the last value entered for PO-002 which would come from Row 9, specifically cell F9 ($4718.00).

    I don't know anything about using IF formula and I am fairly elementary in using PivotCharts, so I'm reaching out for the opportunity to learn and advance my Excel skills. If anyone's willing to provide an explanation for this intermediate Excel user, I'd really appreciate it!!
    Attached Files Attached Files
    Last edited by amyoung0; 02-04-2020 at 05:20 PM. Reason: Resolved

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: IF FUNCTION - How do I get Excel to execute my formula?

    You are going to actually use an array formula. This means when entering you are going to use CTRL+SHIFT+ENTER. If done correctly { } will be added around your formula.

    Put this formula in B14

    =INDEX($F$1:$F13,MAX(IF(A14=$A$1:$A13,ROW($F$1:$F13),0)))
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    02-04-2020
    Location
    Maryland, USA
    MS-Off Ver
    Microsoft Office 365 ProPlus on Windows 10
    Posts
    2

    Re: IF FUNCTION - How do I get Excel to execute my formula?

    Thank you SO much! That worked like a dream and your instructions were easy to follow

  4. #4
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: IF FUNCTION - How do I get Excel to execute my formula?

    Glad to help, and thanks for the rep

+ 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. Execute a macro in a closed workbook, or open and execute without the user noticing
    By cearaujo123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2015, 06:44 PM
  2. Hi! Intermediate level Excel user here...
    By FaithH in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 04-14-2014, 09:16 PM
  3. Hi. Intermediate Mac Excel user here
    By gilroy0 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-28-2013, 05:52 AM
  4. [SOLVED] Can't execute user defined function in Excel 2007
    By Vimal Bhatt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2013, 11:25 PM
  5. Baffled Beginner/Intermediate Excel User
    By michaelaz21 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 05-28-2013, 08:19 PM
  6. Replies: 2
    Last Post: 03-10-2013, 09:56 PM
  7. Replies: 10
    Last Post: 12-29-2011, 01:23 PM

Tags for this Thread

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