+ Reply to Thread
Results 1 to 5 of 5

Increment cell value depending on input elsewhere

  1. #1
    Registered User
    Join Date
    04-25-2007
    Location
    Peabody, MA, USA
    Posts
    9

    Increment cell value depending on input elsewhere

    I have an ongoing list of RMA complaints, 11 in total. I want to know if I add a description in a column like "Wrong Part Shipped" the the WPS tally increments by one. I have one column with all the reasons for material returned.

    Thanks

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Increment cell value depending on input elsewhere

    Perhaps something like this...

    With Col_B containing RMA reasons

    D2: Wrong Part Shipped

    This formula returns the number of cells containing "Wrong Part Shipped":
    E2: =COUNTIF(B:B,"*"&D2&"*")

    Note: I used the wildcard version in case more that one reason can exist in a cell.
    Example: Damaged, Wrong Part Shipped, Wrong Color

    If that cannot occur, then use
    E2: =COUNTIF(B:B,D2)

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Post

    Hey dude i think i will be able to help but your not very clear. please uplaod the file so i can see what you mean.

    i think you'll just need to use a

    =COUNTIF(A:A,"Wrong Part Shipped")

    this should count the number of times it shows within the column A

  4. #4
    Registered User
    Join Date
    04-25-2007
    Location
    Peabody, MA, USA
    Posts
    9
    Here's a copy of the file. In the meantime I'll try the COUNTIF command.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-25-2007
    Location
    Peabody, MA, USA
    Posts
    9
    Countif works....slowly getting this program down. Thanks for your help

+ 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