+ Reply to Thread
Results 1 to 5 of 5

Help with Charting different dates for Vendors

  1. #1
    Registered User
    Join Date
    02-13-2020
    Location
    San Francisco, CA
    MS-Off Ver
    2016
    Posts
    19

    Help with Charting different dates for Vendors

    Hi, I have a slight problem.

    I'm trying to make a bar chart with our vendors to see who worked together during the same period. My problem is that some vendors were working intermittently during the year.

    Is here a way for me to make a bar chart for this?

    I attached a snip and a sample workbook.

    Thank you!

    Capture.PNG
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Help with Charting different dates for Vendors

    Your workbook has the same content as the screenshot, i.e. a few colored cells. I assume that this is the desired output. You don't say.

    In order to generate that output, please provide the source data and explain the logic to arrive at the result.

  3. #3
    Registered User
    Join Date
    02-13-2020
    Location
    San Francisco, CA
    MS-Off Ver
    2016
    Posts
    19

    Re: Help with Charting different dates for Vendors

    Hi, Teylyn

    Sorry about that. Here's the file,

    So basically what's happening is we have several vendors/subcontractors who invoiced us during different periods and I want to make a horizontal bar chart (similar to a gantt chart), so we can see which vendors worked together during each quarter.

    Thank you!
    Attached Images Attached Images
    Attached Files Attached Files

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Help with Charting different dates for Vendors

    get rid of the merged cells in your data table and add the correct vendor name to each row.

    In the result grid, make sure that the cells with the month name contain real dates, the first of each month. You can format the cells to show just the month name.

    Now you can fill the table with formulas that count the number of invoices for that vendor in that month. For example

    =COUNTIFS($C:$C,">="&G$4,$C:$C,"<"&EDATE(G$4,1),$B:$B,$F5)

    This formula counts the cells where column C is greater than the date in G4, column C is smaller than the date in G4 plus one month and column B is equal to the value of F5. See the attached file.


    As a final step you can use conditional formatting to format zero results with white text on white and number results with blue text on blue.
    Use a conditional formatting rule with a formula. The formula for white cells is

    =G5=0

    The formula for blue cells is

    =G5>0

    The format is applied to the body of the table. G5 was selected when the format was created. Note that there are no $ signs in the formula.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-13-2020
    Location
    San Francisco, CA
    MS-Off Ver
    2016
    Posts
    19

    Re: Help with Charting different dates for Vendors

    Fantastic!

    That did the trick! Thank you so much!

+ 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] Charting with dates!
    By Stevew192 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-24-2014, 09:36 AM
  2. Replies: 6
    Last Post: 11-27-2013, 10:28 PM
  3. Charting Dates I dont want
    By tactical in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-20-2011, 10:31 AM
  4. [SOLVED] Charting dates and times
    By jrholden in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-17-2011, 07:23 AM
  5. Charting reverse dates
    By The Muffin Man in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-19-2007, 05:46 PM
  6. Charting with dates
    By changetires in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-29-2006, 05:00 PM
  7. Please help w/ VBA charting and dates on x-axis.
    By Lee Holsenbeck in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2006, 02:00 PM
  8. Replies: 4
    Last Post: 06-16-2005, 01:05 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