+ Reply to Thread
Results 1 to 2 of 2

Calculate based on month and country code

  1. #1
    Registered User
    Join Date
    05-08-2018
    Location
    Chennai
    MS-Off Ver
    365
    Posts
    34

    Calculate based on month and country code

    Please see attached excel sheet. I need below formula to be applied in Column D

    If col B (country_code) = 709
    for month_num = 9 and 12, column C (Total_hrs) should be divided by 215.625. for all other months it should be divided by 172.5

    If col B (country_code) has other country codes than 709
    for month_num = 9 and 12, column C (Total_hrs) should be divided by 205.838. for all other months it should be divided by 164.67
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Calculate based on month and country code

    Into D2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I hope is ok.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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] How do I calculate the last day of month based on name of the month
    By cmorten82 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2019, 04:15 PM
  2. [SOLVED] Calculate a YTD Total based on Reporting Month and Week of Month via drop down selections
    By Miskondukt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-02-2018, 05:14 PM
  3. Macro to calculate Month to year sales based on month selection
    By chandu356 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-14-2017, 09:58 AM
  4. [SOLVED] Proper Phone Numbers Based on Country Code
    By Mohanmoni in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-24-2014, 03:35 PM
  5. Country Sales Figures by Month
    By SimonLis in forum Excel General
    Replies: 4
    Last Post: 10-05-2012, 09:51 AM
  6. Replies: 1
    Last Post: 02-24-2011, 05:48 AM
  7. GPS coordinates based on ZIP code & country
    By snb in forum Tips and Tutorials
    Replies: 0
    Last Post: 01-06-2011, 11:37 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