+ Reply to Thread
Results 1 to 6 of 6

Calculating Cell Values Using an If Statement

  1. #1
    Registered User
    Join Date
    08-24-2015
    Location
    Ontario
    MS-Off Ver
    Windows7
    Posts
    23

    Calculating Cell Values Using an If Statement

    Hi Forum,

    I am asking beginner stuff here and I know I've done this many times before but for some reason, this will not work for me this time.
    I'm trying to get an IF statement to work on my "Summary" page.

    I'm calculating things on Sheet 1 and need a summary calculating as I go.

    I thought I was doing it right.

    I've highlighted the cell in red that I need the formula in.

    Any help is GREATLY appreciated!!
    Attached Files Attached Files
    Last edited by TWP; 11-03-2015 at 03:41 PM. Reason: Trying to delete the thread

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: If statement

    Use

    =INDEX(Sheet1!F:F,MATCH(A3,Sheet1!A:A,0))

    and get rid of merged cells in Sheet1, they are the work of the devil!
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    08-24-2015
    Location
    Ontario
    MS-Off Ver
    Windows7
    Posts
    23

    Re: If statement

    Thanks, that worked great; however, I will be putting Temporary Telephone many times throughout my sheet and will need to have the values of it continuously added up. This formula is only seeking it the one time, I want it to search all of the first sheet for the words Temp Telephone and add all in the summary page. How do I do that? Get it to add the more I put on Sheet 1?

  4. #4
    Registered User
    Join Date
    08-24-2015
    Location
    Ontario
    MS-Off Ver
    Windows7
    Posts
    23

    Re: Calculating Cell Values Using an If Statement

    Anyone?

    Help....

    Should I use Lookup or VLookup?

  5. #5
    Registered User
    Join Date
    08-24-2015
    Location
    Ontario
    MS-Off Ver
    Windows7
    Posts
    23

    Re: Calculating Cell Values Using an If Statement

    I tried LOOKUP with no luck ... *sigh* ..
    See attachment
    Attached Files Attached Files

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Calculating Cell Values Using an If Statement

    In C3

    =SUMIF(Sheet1!A:A,A3,Sheet1!C:C)

    Copy down

+ 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: 2
    Last Post: 07-09-2015, 04:25 PM
  2. [SOLVED] If statement to select data - nested statement - assistance
    By petitesouris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-29-2015, 09:55 PM
  3. compile error expected line number statement end statement
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2014, 10:12 AM
  4. VBA Compile Error : line number or label or statement or end of statement
    By excellearner121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 06:41 PM
  5. Replies: 4
    Last Post: 06-01-2012, 10:05 AM
  6. Replies: 4
    Last Post: 05-16-2012, 05:33 PM
  7. [SOLVED] Utilize a Select Case Statement in Target Intersect Statement
    By max57 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2009, 08:55 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