+ Reply to Thread
Results 1 to 3 of 3

Help on defining an Excel formula based on a special condition

  1. #1
    Registered User
    Join Date
    10-29-2019
    Location
    Berlin, Germany
    MS-Off Ver
    MS 365 64 Bit
    Posts
    13

    Help on defining an Excel formula based on a special condition

    Hi Team,

    I am in a bit of a fix with a formula I want to set up.

    The goal is to calculate the total meal allowance (column E).

    The intended formula is: Meal allowance rate (column B) * days in Germany (column C) * ((no of children)+1 if the number of days in Germany is more than zero).

    I am struggling to capture the last bit of the formula (...*((no of children)+1 if the number of days in Germany is more than zero). The plus 1 only happens as long as the value in column C is more than zero.

    Example is as shown in row 3 in my screenshot(Fred):

    6.41* 16 * (0+1) = 384.6 (Here I added 1 because the value in C3 is more than zero.

    Example in row 4 (Jane) is also seeing a +1 because even though the number of children is zero, the value in column C4 is more than zero.

    Hope my explanation is clear enough.

    Thanks in advance.

    Regards,

    Kay Bee
    Attached Files Attached Files
    Last edited by Kay Bee; 07-13-2020 at 01:17 PM. Reason: ensuring title fits what is needed

  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
    79,365

    Re: Excel - Formula Question

    Administrative Note:

    We would very much like to help you with your query, however the 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.

    Please take a moment to amend your thread title. 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 and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: Help on defining an Excel formula based on a special condition

    Please re-read the forum rules you agreed to as you have a problem with keeping them.

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. excel formula question
    By surin526 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2015, 09:12 PM
  2. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  3. Excel formula question
    By win386 in forum Excel General
    Replies: 3
    Last Post: 01-10-2009, 02:31 AM
  4. 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
  5. Excel formula question
    By datalife in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2007, 01:46 PM
  6. excel formula question
    By k.vangeffen in forum Excel General
    Replies: 2
    Last Post: 01-17-2006, 03:00 PM
  7. Excel formula help/question
    By Jodi in forum Excel General
    Replies: 5
    Last Post: 06-14-2005, 11:05 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