+ Reply to Thread
Results 1 to 11 of 11

Word text +1 tally with cell placement.

  1. #1
    Registered User
    Join Date
    05-28-2014
    MS-Off Ver
    2013
    Posts
    10

    Word text +1 tally with cell placement.

    I have a fun one for you guys. I don't know if this is possible in Excel but I would like to see what you guys think.

    I am looking for a formula or multiple formulas to perform an If/Then statement, adding and dividing. Example listed below.

    If O8 = 'Y' then perform XXXX, otherwise, do nothing.

    XXXX= in Y8 search for word 'apple' and add tally to AA46, in Y8 search for word 'orange' and add tally to AA47, in Y8 search for word 'banana' and add tally to AA48.

    Take AA46/Y46 and put results in AB46.

    If this could be put into on cell and perform all the needed actions that would be appreciated, otherwise, multiple cell formulas is ok. Thanks!

    AG45

  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

    Re: Word text +1 tally with cell placement.

    Formulas are unable to change the values of other cells. So, if you're hoping to have a value in AA46 (eg. 100) and use a formula to add to that value...that can't happen with formulas, but CAN happen with VBA.

    However, if you need AA46 to contain a formula that tallies up some value...that CAN happen.

    Which of those do you need?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    05-28-2014
    MS-Off Ver
    2013
    Posts
    10

    Re: Word text +1 tally with cell placement.

    AA46-48 have no value at all. They are more or less a gathering of all the tallies throughout the page. I just need to find a formula that can perform this "XXXX= in Y8 search for word 'apple' and add tally to AA46, in Y8 search for word 'orange' and add tally to AA47, in Y8 search for word 'banana' and add tally to AA48" that I can paste to multiple rows that will put a total tally in AA46-48 based on the word category (apples, oranges, etc).

    Does that make sense?
    US Army 2005 - 2014

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Word text +1 tally with cell placement.

    Not really. Can you upload an example file?

  5. #5
    Registered User
    Join Date
    05-28-2014
    MS-Off Ver
    2013
    Posts
    10

    Re: Word text +1 tally with cell placement.

    I hope this helps.


    Example.xlsx

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

    Re: Word text +1 tally with cell placement.

    Using your posted workbook...I *think* this is what you're looking for:
    Please Login or Register  to view this content.
    Copy that formula down as far as you need.

    EDITED TO INCLUDE THIS ALTERNATIVE:
    Since your example uses an Excel Table...you could use this formula (which will automatically expand and contract the referenced fields to match the table contents:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Last edited by Ron Coderre; 05-29-2014 at 02:18 PM.

  7. #7
    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
    81,072

    Re: Word text +1 tally with cell placement.

    In G10:

    =COUNTIFS(A3:A8,"Y",E3:E8,"*Apples*")

    Adapt for the other two cells.
    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.

  8. #8
    Registered User
    Join Date
    05-28-2014
    MS-Off Ver
    2013
    Posts
    10

    Re: Word text +1 tally with cell placement.

    Thank you all! It works for my grocery list example, now lets see the real thing!

  9. #9
    Registered User
    Join Date
    05-28-2014
    MS-Off Ver
    2013
    Posts
    10

    Re: Word text +1 tally with cell placement.

    So far it is working!!! Thank you all. It looks like I was over complicating things from the beginning.

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

    Re: Word text +1 tally with cell placement.

    Glad you got something you can use!

    Be sure to mark this thread as SOLVED (from the Thread Tools menu)

  11. #11
    Registered User
    Join Date
    05-28-2014
    MS-Off Ver
    2013
    Posts
    10

    Re: Word text +1 tally with cell placement.

    Quote Originally Posted by Ron Coderre View Post
    Glad you got something you can use!

    Be sure to mark this thread as SOLVED (from the Thread Tools menu)
    Just did. Thanks!

+ 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. [SOLVED] Need to parse text from a field where the placement of the text may change.
    By kaknoche in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-23-2013, 03:36 PM
  2. Text placement in TXT file question
    By ChromiumAgeCollector in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2012, 10:26 AM
  3. numbers to text with correct charcter placement
    By ftjjk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2008, 11:19 PM
  4. Combobox text placement
    By Aussie_Striker in forum Excel General
    Replies: 1
    Last Post: 10-24-2006, 12:25 AM
  5. create tally sheet for positions- insert names and tally #
    By tally sheets in forum Excel General
    Replies: 0
    Last Post: 04-11-2006, 04:45 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