+ Reply to Thread
Results 1 to 7 of 7

Help Needed Changing an Excel Formula

  1. #1
    Registered User
    Join Date
    11-07-2014
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    9

    Help Needed Changing an Excel Formula

    I have a spreadsheet tracking when people send me expense reports. I have column for each day and if someone sends expenses I mark a 1 in that cell. I use the following formula to record what day each person sent in their first expense:

    =IFERROR(INDEX($B$1:$T$1,MATCH(1,$B3:$T3,0)),0)

    However if someone sends in 2, 3 or more expense reports in one day I need to mark the corresponding value in the cell. But the above formula only recognizes the value one. How do I change it so that it'll pick up any value thats been added to a particular cell?

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Help Needed Changing an Excel Formula

    Hi,

    Change to this formula :

    Please Login or Register  to view this content.
    Regards
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Registered User
    Join Date
    11-07-2014
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    9

    Re: Help Needed Changing an Excel Formula

    Thanks karedog, that worked!

    One more thing you guys might be able to help with. I want a column at the end to calculate the total number for reports submitted by each person. At the moment I have this formula: =COUNTA(B2:T2)
    The problem with this is no matter what value I have in a particular cell it'll only count it as one. What I would like is, for example, if I had 3 cells with values in a particular row and the values were 1,4 and 1 I want the column at the end to record the total as being 6 rather than 3. Can this be done?

  4. #4
    Registered User
    Join Date
    11-07-2014
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    9

    Re: Help Needed Changing an Excel Formula

    Is it just the =COUNTA that needs to be corrected? If so what could I use?

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Help Needed Changing an Excel Formula

    If the other cells are blank just use SUM
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  6. #6
    Registered User
    Join Date
    11-07-2014
    Location
    London
    MS-Off Ver
    Office 2010
    Posts
    9

    Re: Help Needed Changing an Excel Formula

    Quote Originally Posted by karedog View Post
    Hi,

    Change to this formula :

    Please Login or Register  to view this content.
    Regards
    I've actually run into an issue with this formula. The column that records the day people sent in their first report no longer works. It now records the last day someone sent in a report rather than the first day. What can I do to correct this while also recording when more than one report is submitted per day?

  7. #7
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Help Needed Changing an Excel Formula

    Quote Originally Posted by Natasha88 View Post
    Thanks karedog, that worked!
    You are welcome Natasha.

    Quote Originally Posted by Natasha88 View Post
    I've actually run into an issue with this formula. The column that records the day people sent in their first report no longer works. It now records the last day someone sent in a report rather than the first day. What can I do to correct this while also recording when more than one report is submitted per day?
    Please use this formula :

    Please Login or Register  to view this content.
    Regards

+ 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. Replies: 0
    Last Post: 01-14-2014, 02:00 PM
  2. [SOLVED] Help needed on changing worksheet name
    By Elangovan89 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-18-2013, 06:00 PM
  3. Help needed on changing worksheet name
    By Elangovan89 in forum Excel General
    Replies: 1
    Last Post: 11-18-2013, 05:16 PM
  4. Replies: 4
    Last Post: 08-01-2012, 08:55 AM
  5. Formula needed with a changing denominator for each grouping
    By MissyLovesExcel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-29-2005, 05: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