Results 1 to 5 of 5

Trip Calendar Auto-formatting

Threaded View

bees_knees Trip Calendar Auto-formatting 10-14-2019, 01:49 PM
FlameRetired Re: Trip Calendar... 10-14-2019, 08:00 PM
bees_knees Re: Trip Calendar... 10-14-2019, 08:59 PM
JeteMc Re: Trip Calendar... 10-17-2019, 07:03 PM
FlameRetired Re: Trip Calendar... 10-18-2019, 05:03 PM
  1. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,896

    Re: Trip Calendar Auto-formatting

    I believe that the following formula will do what you want:
    Formula: copy to clipboard
    =INDEX($B$1:$I$1,AGGREGATE(14,6,(COLUMN($B$1:$I$1)-COLUMN($A$1))/($B$3:$I$3<=O7),1))

    Note that the formula is only applied through row 20.
    When you get ready to apply to row 26 > select cell B20 > press Ctrl + c > select cell B26 > press Ctrl + v > drag the fill handle over to cell AF26
    Note that you'll need to modify the formula to include one more column than the columns containing countries in row 1 and you'll need to put a value in row 3 of the last column.
    Note that you can hide the zeros (see H20:AF20) using conditional formatting.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how many trip by location ?
    By Mak Man Ina in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-05-2018, 08:46 AM
  2. Replies: 2
    Last Post: 10-03-2016, 08:35 AM
  3. Replies: 0
    Last Post: 08-27-2015, 11:37 PM
  4. Replies: 2
    Last Post: 07-31-2013, 02:00 PM
  5. Calendar VBA auto filling week and month based on calendar entry.
    By perrymagic in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2011, 02:00 PM
  6. Replies: 0
    Last Post: 04-25-2011, 04:28 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