+ Reply to Thread
Results 1 to 7 of 7

Calculate only if headers match certain condition

  1. #1
    Registered User
    Join Date
    10-18-2016
    Location
    New Yotk
    MS-Off Ver
    2010
    Posts
    3

    Calculate only if headers match certain condition

    I spent 5 hours trying to figure this out but could not...please help me..

    Please see attached.

    The question is that I have to calculate fee (simply just % times total capitalization) only if the column header (periods) maches with the scenario. Also harder part is that I have to use different rate based on when the period starts and ends. The tricky part is that I have to use dynamic formula so I can drag it down in any of the cells to get the answer. I would very much appreciate for your insight

    I used different formulas in each sell to get the expected answers but cannot think of a way to incorporate all to make a "dynamic" formula that can be dragged down
    Attached Files Attached Files
    Last edited by ablekty; 10-20-2016 at 01:19 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Calculate only if headers match certain condition

    Hi, welcome to the forum

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-18-2016
    Location
    New Yotk
    MS-Off Ver
    2010
    Posts
    3

    Re: Calculate only if headers match certain condition

    Not sure how to upload the workbook. I clicked the "attach" but it doesn't show anything. Could you advise?

  4. #4
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: Calculate only if headers match certain condition

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Please include some expected outcomes in your sample sheet!
    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.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Calculate only if headers match certain condition

    Did you follow my directions?

  6. #6
    Registered User
    Join Date
    10-18-2016
    Location
    New Yotk
    MS-Off Ver
    2010
    Posts
    3

    Re: Calculate only if headers match certain condition

    AliGW/FDibbins,

    I could attach the file based on your advice! Thank you so much!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Calculate only if headers match certain condition

    Is this a homework assignment?

+ 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] Match not finding a match in a table when headers are numbers.
    By pxtaylor in forum Excel General
    Replies: 9
    Last Post: 06-07-2019, 04:08 PM
  2. Match value and return multiple headers
    By hcorbitt in forum Excel General
    Replies: 5
    Last Post: 07-24-2014, 02:45 PM
  3. [SOLVED] Display and Combine Column Headers each time a condition is true in each row.
    By srutenber in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-16-2012, 04:00 PM
  4. [SOLVED] CONCATENATE headers based on 1 condition
    By bonny24tycoon in forum Excel General
    Replies: 2
    Last Post: 04-27-2012, 10:06 AM
  5. Read whole file,Match the headers based on specific condition & write to text file
    By macromaniac in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-07-2011, 06:37 AM
  6. Returning headers using index match
    By dmr316 in forum Excel General
    Replies: 2
    Last Post: 12-03-2009, 12:53 PM
  7. Using MATCH function with multiple headers?
    By Dowler in forum Excel General
    Replies: 7
    Last Post: 07-21-2009, 08:03 AM

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