+ Reply to Thread
Results 1 to 3 of 3

IF Statements-column of values which are random

  1. #1
    Registered User
    Join Date
    09-16-2007
    Posts
    42

    IF Statements-column of values which are random

    Hello,
    a)If I have a column of values which are random, and I only wish to sum eg. items that are <200 how can I do this, IN ONE GO?

    I am trying to do this but am obviously failing.
    Can someone advise.

    Thanks in advance.

    G

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    use SUMIF

    Hi

    Assuming your data is in Column A starting at A1 to A100, write the following formula in Cell A101 for the result:

    =SUMIF(A1:A100,"<200")

    This will sum only the numbers which are smaller than 200.

    Teylyn

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by ghadir14 View Post
    Hello,
    a)If I have a column of values which are random, and I only wish to sum eg. items that are <200 how can I do this, IN ONE GO?

    I am trying to do this but am obviously failing.
    Can someone advise.

    Thanks in advance.

    G
    Please take care where you post your answers. I have moved this from the Workshop Discussion Forum
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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