LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Big Rick
 
Posts: n/a
Default Adaptation Of A Formula

I have the following formula in a cell.
This gives me the number of how many Bank Holidays have passed in this tax
year.
=HLOOKUP(TODAY(),{0,38474,38502,38593,38712,38713, 38719;0,1,2,3,4,5,6},2)
(courtesy of N. Harkawat)

In any one tax year there can be up to 10 Bank Holidays. (This year there
are only 6) I would like the cell to read "1 of 6", "2 of 6" etc, but in an
automated way.

On a separate sheet, I could put in A1 to J1 for instance, the dates of the
Bank Holidays in the current tax year. In cells B1 to J1 I could have the
numbers 1 to 10.
(Or any other way or advice greatly appreciated)

I simply want to enter the dates of the Bank Holidays in the A row and have
the main cell (Holidays!$P$6) read "1 of 6" this year or "1 of 8" next year.
Hope you can understand this logic.


Thanking you in anticipation.
--
Big Rick
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF formula? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 09:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"