+ Reply to Thread
Results 1 to 3 of 3

Equation Question

  1. #1
    Registered User
    Join Date
    01-06-2014
    Location
    Lubbock, TX
    MS-Off Ver
    Excel 2010
    Posts
    1

    Equation Question

    I am working on a spreadsheet that will keep track of our employees Sick, vacation, and holiday times. Per the boss, it has to be in a certain format. I have prepared the spreadsheet - no problem. However, he wants to enter the sick time as 4S, and then run a search on just the cells that have S and have it automatically calculate on the spreadsheet.

    How in the world would I go about doing that?

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Equation Question

    So you want to enter a load of values like:
    4S
    3
    7S
    8
    12S
    etc. into cells and then sum all the values that have S at the end of them?

    The initial answer is format your sheet better... but having read that you are stuck with the format something like:
    =SUM(IF(ISERROR(FIND("S",A1:A10,1)),0,1*LEFT(A1:A10,1))) as an array formula (confirm with ctrl+shift+enter) should add up the numbers from all the cells in A1:A10 that have an "S" in them. Although it won't work for more than one digit numbers.

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Equation Question

    You can cheat! Enter your data with the values in one column and the code in the adjacent column then select and format the two columns with white internal borders and fit the column widths to look like a single column. The data will have the look that he wants and the functionality that you require.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. simple question about equation
    By leonhart1981 in forum Excel General
    Replies: 2
    Last Post: 09-08-2011, 04:27 AM
  2. IF equation question
    By dcorreia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2009, 03:50 PM
  3. Equation Question.....
    By gregnash in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2008, 03:38 PM
  4. equation question
    By Chrisnelsonusa in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-12-2007, 04:17 PM
  5. Linear Trendline Equation Question
    By QuestGAV in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-10-2005, 10:25 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