+ Reply to Thread
Results 1 to 2 of 2

If statement with multiplication

  1. #1
    Registered User
    Join Date
    08-24-2022
    Location
    Atlanta, GA
    MS-Off Ver
    2013
    Posts
    5

    Question If statement with multiplication

    Hello! I am using this formula:

    =IF(OR($U2>EOMONTH(AF$1,0),$V2<AF$1),??,$AE2*(MIN(EOMONTH(AF$1,0),$V2)-MAX(AF$1,$U2)+1)/IF(MOD(YEAR($AF$1),4)=0,366,365))

    I need to make this formula multiply by whatever is in cell C3 if the value returned is greater than 0. I tried the product function but I am having trouble with placing it into the formula. I keep getting the error #Value

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: If statement with multiplication

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    You need to go back and sign off your earlier thread, please.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    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] IF Statement with 3 conditions and multiplication
    By richdeniro in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-24-2022, 07:51 AM
  2. [SOLVED] Value Multiplication
    By jani.pk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2019, 03:48 PM
  3. [SOLVED] Multiplication of a vlookup embedded in an if statement
    By mitch1976 in forum Excel General
    Replies: 5
    Last Post: 01-07-2016, 05:13 AM
  4. [SOLVED] Using multiplication in an IF statement?
    By Henry16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2013, 06:50 AM
  5. Multiplication
    By kmarie630 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2009, 03:59 PM
  6. [SOLVED] multiplication
    By gem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2006, 03:55 AM

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