+ Reply to Thread
Results 1 to 5 of 5

Excel formula - question.

  1. #1
    Registered User
    Join Date
    10-09-2021
    Location
    Canada
    MS-Off Ver
    office365
    Posts
    6

    Excel formula - question.

    I am trying to find a solution in excel to calculate a value if some conditions are met. Basically, I trying to see if a cell value is "0" then reflect the value as "0" in a cell. If not then add few cells...for example - sum(A1:A20)/3 and return that value in a cell. Is there a way we can do that ? Thanks for your time.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Excel formula - question.

    Try something like this:

    =IF(cell=0,0,SUM(A1:A20)/3)

    where you will need to replace cell with the cell reference that you want to check.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-09-2021
    Location
    Canada
    MS-Off Ver
    office365
    Posts
    6

    Re: Excel formula - question.

    Thanks Pete. It worked.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Excel formula - question.

    Glad to hear that, and you're welcome.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,182

    Re: Excel formula - question.

    Administrative Note:

    Welcome to the forum.

    PLEASE TAKE NOTE OF THE RULE REGARDING THREAD TITLES FOR FUTURE REFERENCE


    Your thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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] Excel 2007 : excel formula question
    By alr in forum Excel General
    Replies: 2
    Last Post: 04-24-2012, 09:11 PM
  2. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  3. Excel Formula Question
    By spongebob80 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2009, 11:25 PM
  4. Excel Formula Question;
    By RickyPrevatt in forum Excel General
    Replies: 1
    Last Post: 04-13-2009, 06:06 PM
  5. IF formula question:create a excel IF formula
    By Jonsby in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-18-2008, 07:12 AM
  6. Excel Formula Question
    By Sum Limit and marking in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2006, 04:00 PM
  7. [SOLVED] excel formula question
    By k.vangeffen in forum Excel General
    Replies: 2
    Last Post: 01-17-2006, 03:00 PM

Tags for this Thread

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