+ Reply to Thread
Results 1 to 4 of 4

Multiplying cells together

  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Multiplying cells together

    I am trying to generate a standard formula to multiply 4 cells together. It is important to note that some of the cells will not have a number in them.
    Eg Cell A1 = 10, Cell A2 = 5, Cell A3 = blank, Cell A4 = 2. The answer I am looking for is 100. However, when I try the following formula =sum(+A1*A2*A3*A4) it only gives 0 as an answer (because cell A3 is blank). Is there away to include cell A3 in the formula and get the correct answer?

    Any help on this would be greatly appreciated

    Thanks

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Multiplying cells together

    Hi,

    Does =PRODUCT(A1:D1) give you the required output?
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Multiplying cells together

    =product(a1,a2,a3,a4)

    or =product(A1:A4)

  4. #4
    Registered User
    Join Date
    02-28-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Multiplying cells together

    Works like a dream. Many thanks

+ 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