+ Reply to Thread
Results 1 to 5 of 5

If Statements Directed to Single Cell?

  1. #1
    Registered User
    Join Date
    03-26-2013
    Location
    michigan
    MS-Off Ver
    Excel 2013
    Posts
    7

    If Statements Directed to Single Cell?

    So in column A, I have multiple "methods/jobs" going down in a list cell by cell. I have already created the conditional IF statements.

    For example, I have created if A1 = 'calculations sheet'A1 (A1 is method number 1 text is on a data sheet on the other tab) then it will do some calculations for me. So I have done those for all of my different methods.

    My only problem is, I may encounter the issue where there maybe multiple methods/jobs on a single cell.

    So I am essentially trying to figure out how to tell excel to perform the calculations (these are in a row), via the method(s) shown in the first cell.

    I have attached the sheet that I am working with, you can see the first box (in purple) is A1. I have two text values, but my formulas only work if one value is there.

    Thank you,
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: If Statements Directed to Single Cell?

    Hi

    Is "open Cut" 1 method number or 2?
    Will you only ever have 2 "methods"
    What do you want to happen if there are 2 "methods"?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-26-2013
    Location
    michigan
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: If Statements Directed to Single Cell?

    Open Cut is "one method". If there are two methods, I want it to perform both condition calculations just so I can then create a new function later on that will sum all of the sub-totals.

    Also it may indeed go above two methods.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: If Statements Directed to Single Cell?

    OK, so if you have something like "Open Cut" and something else like "FCIPP SCIPP"...plus other unknown combinations, how will excel determine that a particular pair (or maybe 3 or 4 sets) needs to be split apart or not?

    I would suggest that you give some thought to better organising your data so that each "method" is seperated

  5. #5
    Registered User
    Join Date
    03-26-2013
    Location
    michigan
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: If Statements Directed to Single Cell?

    Thank you,

    I will give it another go and see how it turns out. The problem is, that I essentially cannot seperate the methods by a organized group because they are really ordered by date and manhole #.

    I may make a sample excel sheet that asks the same type of question but in terms that others may understand such as X's and Y's.

+ 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