Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


Excel Magic - Any Pros?

Reply to topic
Bike Chat Forums Index -> The Geek Zone
View previous topic : View next topic  
Author Message

Alpha-9
Super Spammer



Joined: 19 Jan 2012
Karma :

PostPosted: 18:03 - 24 Aug 2014    Post subject: Excel Magic - Any Pros? Reply with quote

Hi

I'm trying to make our work rota better.
I want to be able to do a few things to save a lot of time:

Return all cells that are highlighted yellow; these are manually entered 'vacant' slots, the name needs to stay in so we can see who's shift it originally was. It would need to return the column heading (the shift location and timings) and the row heading (the date)

Create a weekly schedule, an automated from the day its ran for 7 days (so 8 days Sunday-Sunday for example), copies in all the shifts from the different areas and timings in a readable easy to look at way. Maybe recording a macro will work but I'm not confident...

Something that looks across multiple sheets within the workbook and returns the names (column headings) of that date (defined by the row) and returns the cell of a specific type (text)

Make the workbook know what day it is today, so it borders or highlights the row of today's date on the rota (its a 4 month rota) but without ruining the colors of the slots

Hmm

Thinking about the template for the schedule, I could make it return the column easy enough, but it's the choosing the row cell that's today's day that baffles me hmmmmm
____________________
Fzr-600 1999
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

lihp
World Chat Champion



Joined: 22 Sep 2010
Karma :

PostPosted: 18:42 - 24 Aug 2014    Post subject: Reply with quote

How much are you offering?
 Back to top
View user's profile Send private message You must be logged in to rate posts

Alpha-9
Super Spammer



Joined: 19 Jan 2012
Karma :

PostPosted: 19:06 - 24 Aug 2014    Post subject: Reply with quote

Zilcho

I got somewhere with it

=VLOOKUP(B27,B4:F12,MATCH(C26,B3:F3,0),TRUE)

Oh baby
____________________
Fzr-600 1999
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

Monkeypony
World Chat Champion



Joined: 21 Sep 2011
Karma :

PostPosted: 19:30 - 24 Aug 2014    Post subject: Reply with quote

You'll want to replace the 'true' with 'false'
____________________
Current bike - 2018 H2-SX, 2004 SV1000s, 2016 Aprilia RSV4 RF, 2017 Sherco SERF 300, 2003 Suzuki DRZ400 (stolen - AY53 JUU)
 Back to top
View user's profile Send private message You must be logged in to rate posts

Alpha-9
Super Spammer



Joined: 19 Jan 2012
Karma :

PostPosted: 20:19 - 24 Aug 2014    Post subject: Reply with quote

Monkeypony wrote:
You'll want to replace the 'true' with 'false'

Works equally it seems Cool

Doesnt seem theres a way to return whether a cell is a colour... maybe i'll have to fill all the yellow cells with a value manually
____________________
Fzr-600 1999
 Back to top
View user's profile Send private message Send e-mail You must be logged in to rate posts

Ichy
World Chat Champion



Joined: 15 Jul 2005
Karma :

PostPosted: 20:47 - 24 Aug 2014    Post subject: Reply with quote

Function BGCol(MRow As Integer, MCol As Integer) As Long
BGCol = Cells(MRow, MCol).Interior.ColorIndex
End Function

VBA must be the easiest way to achieve what you want.
____________________
https://www.metacafe.com/watch/1972097/how_to_behave_on_a_forum/
 Back to top
View user's profile Send private message You must be logged in to rate posts

Pigeon
World Chat Champion



Joined: 27 Sep 2012
Karma :

PostPosted: 21:41 - 24 Aug 2014    Post subject: Reply with quote

Alpha-9 wrote:
Monkeypony wrote:
You'll want to replace the 'true' with 'false'

Works equally it seems Cool


I'll be honest and say I'm commenting without reading the detail.
But Monkeypony is correct. vlookup(blah, blah, true) is potentially "dangerous" depending on what you want to achieve.

false = return a #N/A error if the exact match is not found.
true = return the nearest value that matches the original lookup. If you want accurate data, don't use true.
 Back to top
View user's profile Send private message You must be logged in to rate posts

kawakid
World Chat Champion



Joined: 15 Mar 2005
Karma :

PostPosted: 01:19 - 31 Aug 2014    Post subject: Reply with quote

Post the spreadsheet.

I can have a quick look and give you a rough idea of how much time would be needed.
____________________
I've a twin and a 4.
 Back to top
View user's profile Send private message You must be logged in to rate posts
Old Thread Alert!

The last post was made 12 years, 12 days ago. Instead of replying here, would creating a new thread be more useful?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> The Geek Zone All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.08 Sec - Server Load: 0.47 - MySQL Queries: 14 - Page Size: 55.91 Kb