Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2016, 02:21 PM
ikeevens ikeevens is offline Data bar work the opposite way? Windows 10 Data bar work the opposite way? Office 2016
Novice
Data bar work the opposite way?
 
Join Date: Jun 2016
Posts: 3
ikeevens is on a distinguished road
Default Data bar work the opposite way?

Is there a way to have a data bar work the opposite way? If a cell is 0% I want it to be completely red if it’s 100% no color.

Here is how my table is set up.

Item:


User entered data.

Purchase Date:
User entered date.

Years in Service:
=2016-YEAR([Date Purchased])

Purchase Price:
User entered price.

Amount Depreciated: This is based on computers depreciating 20% each year over five years.
=IF([Years in Service]=1,[Purchase Price]*20%,IF([Years in Service]=2,[Purchase Price]*40%,IF([Years in Service]=3,[Purchase Price]*60%,IF([Years in Service]=4,[Purchase Price]*80%,IF([Years in Service]=5,[Purchase Price]*100%,IF([Years in Service]>5,[Purchase Price]*100%,0))))))

Estimated Current Value:
=[Purchase Price]-[Amount Depreciated]

This is where I would like the gradient data bar to display all red if completely depreciated or fill half if the item is only half way depreciated and so forth. The way it works now is if it’s completely depreciated the cell has no color and if it’s not deprecated at all the cell if full of color.

Thanks for any help.
Reply With Quote
  #2  
Old 06-29-2016, 11:42 PM
xor xor is offline Data bar work the opposite way? Windows 10 Data bar work the opposite way? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I don't see an easy way to do what you want in Excel, but the attached may give some inspiration.
Attached Files
File Type: xlsx Depreciation.xlsx (9.0 KB, 10 views)
Reply With Quote
  #3  
Old 06-30-2016, 07:23 AM
ikeevens ikeevens is offline Data bar work the opposite way? Windows 10 Data bar work the opposite way? Office 2016
Novice
Data bar work the opposite way?
 
Join Date: Jun 2016
Posts: 3
ikeevens is on a distinguished road
Default

I don't know enough about Excel.

What determines how much of the cell gets filled?

What about something like this.
If Years in Service cell = 0 the Estimated Current Value cell has no color.
If Years in Service cell = 1 the Estimated Current Value cell has 20% color.
If Years in Service cell = 2 the Estimated Current Value cell has 40% color.
If Years in Service cell = 3 the Estimated Current Value cell has 60% color.
If Years in Service cell = 4 the Estimated Current Value cell has 80% color.
If Years in Service cell > 4 the Estimated Current Value cell has 100% color.

Right now I have it if
Years in Service cell = 4 Estimated Current Value cell has gradient red to white.
If Years in Service cell > 4 Estimated Current Value cell has solid red.
Otherwise the cell has no color.

This provides a pretty good visual as to what is going out of service and what is out of service. I guess I could use different shades of red lighter to darker as things get older?
Reply With Quote
  #4  
Old 06-30-2016, 08:59 AM
xor xor is offline Data bar work the opposite way? Windows 10 Data bar work the opposite way? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Don't know if this is any better.
Attached Files
File Type: xlsx Depreciation_2.xlsx (9.2 KB, 10 views)
Reply With Quote
  #5  
Old 07-01-2016, 01:27 PM
ikeevens ikeevens is offline Data bar work the opposite way? Windows 10 Data bar work the opposite way? Office 2016
Novice
Data bar work the opposite way?
 
Join Date: Jun 2016
Posts: 3
ikeevens is on a distinguished road
Default

That's pretty slick. Although, I need to have the Estimated Current Value show in the cell as well. I have Purchase Price - Amount Depreciated = Estimated Current Value. Not sure how that would work with the font being webdings.

I used conditional formatting and if the years in service is less then 4 no color. If years in service = 4 gradient red to white. If years in service >4 solid red.

Thanks for you help!
Reply With Quote
  #6  
Old 07-01-2016, 09:22 PM
xor xor is offline Data bar work the opposite way? Windows 10 Data bar work the opposite way? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

A last attempt.
Attached Files
File Type: xlsx Depreciation_3.xlsx (9.7 KB, 13 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Data bar work the opposite way? matching data from one work sheet to another, then auto filling missing cell information timomaha Excel 1 09-12-2014 07:51 AM
Data not showing from Access linked work sheet shabbaranks Excel 0 01-08-2014 02:52 AM
formula to work from data column masterdineen Excel 16 08-09-2012 07:52 AM
re change data in a monthly work book primaxuk Excel 1 10-22-2009 08:29 PM
Table across two opposite pages rvelden Word Tables 0 03-10-2009 07:36 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft