+ Reply to Thread
Results 1 to 5 of 5

Very Basic Question From New Guy

  1. #1
    Registered User
    Join Date
    10-19-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    2007
    Posts
    2

    Very Basic Question From New Guy

    Hi everyone,

    I never use excel, but I'm trying to make a points-based spreadsheet to help me and my girlfriend stick to our work out routine. I'm using Excel 2007.

    The basics are if you work out you put a * in a column. Using "=COUNTIF(C20:C26, "*")" I tally the stars and you get 1 point for every workout. I tally these per week with a running total at the top. What I really want to do though is if you only work out once a week, you get 0 points and if you work out 0 times a week you get -1 point.

    So I'm just looking for a way to recognize the number (x) in the "Total workouts" column and if x = 1 then display a 0 and if x = 0 then display -1, if not then just display the number as is.

    Sorry if this is a stupid question but I've spent the last hour on google with no luck.

    Thanks everyone!!!!
    Last edited by nickscofer; 10-20-2014 at 12:34 AM.

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Very Basic Question From New Guy

    Hi, Welcome to the forum,

    You mean this ?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Very Basic Question From New Guy

    Hi Welcome to this forum..
    More exact version...
    Try this...
    Please Login or Register  to view this content.
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  4. #4
    Registered User
    Join Date
    10-19-2014
    Location
    Los Angeles, CA
    MS-Off Ver
    2007
    Posts
    2

    Re: Very Basic Question From New Guy

    That's it! Thank you so much!!!

  5. #5
    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
    53,048

    Re: Very Basic Question From New Guy

    Nick, welcome to the forum

    Im happy you got the answer you were looking for

    However for future reference, please take a look at the forum rules (specifically rule #1, regarding thread titles) before making your next thread
    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

+ 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. Basic For/Each question
    By zdodson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2013, 05:15 PM
  2. basic vbe question
    By leon2424 in forum Excel General
    Replies: 1
    Last Post: 07-31-2008, 06:06 AM
  3. [SOLVED] Basic question
    By plittle in forum Excel General
    Replies: 1
    Last Post: 05-23-2006, 10:55 AM
  4. Basic question
    By hshayh0rn in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-28-2005, 04:40 PM
  5. Really basic question (I'm sure).
    By wetdog in forum Excel General
    Replies: 5
    Last Post: 12-03-2005, 08:15 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