+ Reply to Thread
Results 1 to 2 of 2

Thread: How can I subtract ---- IF cell Q4 contains "xxxx" then subtract 1 from count?

  1. #1
    Registered User
    Join Date
    04-29-2010
    Location
    Hixson
    MS-Off Ver
    Excel 2003
    Posts
    28

    How can I subtract ---- IF cell Q4 contains "xxxx" then subtract 1 from count?

    I have an excel sheet where I am doing the old school type prison math....IIII and the fifth is counted as one but in this case I am saying that for every four X's subtract one from an on going count resides in T19.

    How can I word this?

    The only thing I can think of is this:

    If Q4 = "xxxx" then T19 - 1

    This doesn't quite get it though

  2. #2
    Forum Guru 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Vienna, VA, USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    2,257

    Re: How can I subtract ---- IF cell Q4 contains "xxxx" then subtract 1 from count?

    This explanation is a little tough to follow. I can't get what data is in what cells and where your answer goes. Not sure what "ongoing count" could mean; if it's one cell, it's a single count.

    Can you create a sample Excel sheet that shows examples of the kind of data you are working with, and then the result you want to have? And then we can figure out what formula will give you that result.
    Making the world a better place one fret at a time
    ||||||

    If someone helped you, please click on the star icon at the bottom of their post

    If your problem is solved, please update the first post:
    EDIT, Go Advanced button, set Prefix to SOLVED

    [code]
    ' Enclose code in tags like this
    [/code]

    Don't attach a screenshot
    --just attach your Excel file! It's easier and will let us experiment with your data, formulas, and code.

+ 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.2.0