+ Reply to Thread
Results 1 to 3 of 3

Adding an IF statement to an existing equation

  1. #1
    Registered User
    Join Date
    05-20-2020
    Location
    Florida, USA
    MS-Off Ver
    2016
    Posts
    1

    Adding an IF statement to an existing equation

    Hello. I'm trying to add an IF statement to my existing equation. The goal is to count the number of times a certain item appears, but only if the status is "Checked out".
    Excelhelp.png
    To check how many Flippers (+-0.50) listed total, the equation is =SUMPRODUCT((LEN(E3:E7)-LEN(SUBSTITUTE(E3:E7, Items!A4,"")))/LEN(Items!A4)) *Items is a separate sheet.
    How would I go about counting the number of times Flipper (+-0.50) is listed and tagged checked out?

    I hope that is enough information. Thank you in advance! This has been taking a big toll on me.
    Last edited by kmaknation; 05-20-2020 at 07:07 PM. Reason: grammar

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2010
    Posts
    4,452

    Re: Adding an IF statement to an existing equation

    Try this:

    =SUMPRODUCT((F3:F7="Checking out")*(LEN(E3:E7)-LEN(SUBSTITUTE(E3:E7, Items!A4,"")))/LEN(Items!A4)) *Items is a separate sheet.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    6,450

    Re: Adding an IF statement to an existing equation

    Or:
    Please Login or Register  to view this content.

+ 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: 3
    Last Post: 07-02-2019, 08:55 AM
  2. [SOLVED] Adding an IF statement into an existing IF OR statement
    By Kogen in forum Excel General
    Replies: 4
    Last Post: 09-11-2018, 11:57 AM
  3. Calculation - Adding IF statement to existing logic
    By bdav1216 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-27-2016, 10:37 AM
  4. [SOLVED] Adding IF AND criteria to existing IF Statement
    By Webbers in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2016, 02:52 PM
  5. Adding AND to an existing IF statement
    By Jaspal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-18-2013, 07:28 AM
  6. [SOLVED] Automatically Adding a IF Statement To A Column Of Existing Formula's
    By GEANZ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-12-2013, 12:50 AM
  7. Adding nested if statement to existing script
    By adammark in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2010, 12:31 AM

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