Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Big Rick
 
Posts: n/a
Default Date dependant values.

Up to 10 times a year, I want to add a value of one to cell V4 starting with
zero.
I have come up with the following formula.
=IF(TODAY()<38530,(0),IF(TODAY()<38540,(1),IF(TODA Y()<38550,(2),IF(TODAY()<38560,(3),4)))) etc.
The problem is that I can only use the IF formula seven times.
I would very much appreciate it if you could write a new formula for me as I
am quite new to the whole thing and it took me weeks to work mine out!
(I have been advised to use the VLOOKUP formula but cannot get my head round
it.)
Thanking you in anticipation.
--
Big Rick
  #2   Report Post  
Barb R.
 
Posts: n/a
Default

Can you tell us when you want to increment the value in cell V4. That would
help.

"Big Rick" wrote:

Up to 10 times a year, I want to add a value of one to cell V4 starting with
zero.
I have come up with the following formula.
=IF(TODAY()<38530,(0),IF(TODAY()<38540,(1),IF(TODA Y()<38550,(2),IF(TODAY()<38560,(3),4)))) etc.
The problem is that I can only use the IF formula seven times.
I would very much appreciate it if you could write a new formula for me as I
am quite new to the whole thing and it took me weeks to work mine out!
(I have been advised to use the VLOOKUP formula but cannot get my head round
it.)
Thanking you in anticipation.
--
Big Rick

  #3   Report Post  
Big Rick
 
Posts: n/a
Default

Hello Barb R.
In any one tax year (Apr to Mar.) there can be up to 10 Bank Holidays,
although this year, there are only 6. This is when I want to increment the
value of V4.
--
Big Rick


"Barb R." wrote:

Can you tell us when you want to increment the value in cell V4. That would
help.

"Big Rick" wrote:

Up to 10 times a year, I want to add a value of one to cell V4 starting with
zero.
I have come up with the following formula.
=IF(TODAY()<38530,(0),IF(TODAY()<38540,(1),IF(TODA Y()<38550,(2),IF(TODAY()<38560,(3),4)))) etc.
The problem is that I can only use the IF formula seven times.
I would very much appreciate it if you could write a new formula for me as I
am quite new to the whole thing and it took me weeks to work mine out!
(I have been advised to use the VLOOKUP formula but cannot get my head round
it.)
Thanking you in anticipation.
--
Big Rick

  #4   Report Post  
Barb R.
 
Posts: n/a
Default

Another question. What does the value in V4 represent? The number of bank
holidays that have passed in the year?

"Big Rick" wrote:

Hello Barb R.
In any one tax year (Apr to Mar.) there can be up to 10 Bank Holidays,
although this year, there are only 6. This is when I want to increment the
value of V4.
--
Big Rick


"Barb R." wrote:

Can you tell us when you want to increment the value in cell V4. That would
help.

"Big Rick" wrote:

Up to 10 times a year, I want to add a value of one to cell V4 starting with
zero.
I have come up with the following formula.
=IF(TODAY()<38530,(0),IF(TODAY()<38540,(1),IF(TODA Y()<38550,(2),IF(TODAY()<38560,(3),4)))) etc.
The problem is that I can only use the IF formula seven times.
I would very much appreciate it if you could write a new formula for me as I
am quite new to the whole thing and it took me weeks to work mine out!
(I have been advised to use the VLOOKUP formula but cannot get my head round
it.)
Thanking you in anticipation.
--
Big Rick

  #5   Report Post  
Big Rick
 
Posts: n/a
Default

Hello Barb R. again. Nice to speak to you.
Yes. Apr 4 2005 was the first day of this tax year. V4 is the number of Bank
Holidays that have passed in a tax year.
--
Big Rick


"Barb R." wrote:

Another question. What does the value in V4 represent? The number of bank
holidays that have passed in the year?

"Big Rick" wrote:

Hello Barb R.
In any one tax year (Apr to Mar.) there can be up to 10 Bank Holidays,
although this year, there are only 6. This is when I want to increment the
value of V4.
--
Big Rick


"Barb R." wrote:

Can you tell us when you want to increment the value in cell V4. That would
help.

"Big Rick" wrote:

Up to 10 times a year, I want to add a value of one to cell V4 starting with
zero.
I have come up with the following formula.
=IF(TODAY()<38530,(0),IF(TODAY()<38540,(1),IF(TODA Y()<38550,(2),IF(TODAY()<38560,(3),4)))) etc.
The problem is that I can only use the IF formula seven times.
I would very much appreciate it if you could write a new formula for me as I
am quite new to the whole thing and it took me weeks to work mine out!
(I have been advised to use the VLOOKUP formula but cannot get my head round
it.)
Thanking you in anticipation.
--
Big Rick



  #6   Report Post  
N Harkawat
 
Posts: n/a
Default

=HLOOKUP(TODAY(),{0,38530,38540,38550;0,1,2,3},2)
Keep extending the list in ascending order for all the dates

"Big Rick" wrote in message
...
Up to 10 times a year, I want to add a value of one to cell V4 starting
with
zero.
I have come up with the following formula.
=IF(TODAY()<38530,(0),IF(TODAY()<38540,(1),IF(TODA Y()<38550,(2),IF(TODAY()<38560,(3),4))))
etc.
The problem is that I can only use the IF formula seven times.
I would very much appreciate it if you could write a new formula for me as
I
am quite new to the whole thing and it took me weeks to work mine out!
(I have been advised to use the VLOOKUP formula but cannot get my head
round
it.)
Thanking you in anticipation.
--
Big Rick



  #7   Report Post  
Big Rick
 
Posts: n/a
Default

My heartfelt thanks to N Harkawat. This works better than I could of possibly
imagined. Many thanks also to Barb R for all her time and effort.
--
Big Rick


"N Harkawat" wrote:

=HLOOKUP(TODAY(),{0,38530,38540,38550;0,1,2,3},2)
Keep extending the list in ascending order for all the dates

"Big Rick" wrote in message
...
Up to 10 times a year, I want to add a value of one to cell V4 starting
with
zero.
I have come up with the following formula.
=IF(TODAY()<38530,(0),IF(TODAY()<38540,(1),IF(TODA Y()<38550,(2),IF(TODAY()<38560,(3),4))))
etc.
The problem is that I can only use the IF formula seven times.
I would very much appreciate it if you could write a new formula for me as
I
am quite new to the whole thing and it took me weeks to work mine out!
(I have been advised to use the VLOOKUP formula but cannot get my head
round
it.)
Thanking you in anticipation.
--
Big Rick




Reply
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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Sum range of values that meet date criteria Ed Wurster Excel Discussion (Misc queries) 2 April 11th 05 08:06 PM
Grabbing recods based on date and shift values Jay Excel Worksheet Functions 1 February 25th 05 02:42 PM
Adding values for prior date intervals Qaspec Excel Worksheet Functions 0 January 25th 05 01:49 AM
Counting values within a Date Range Jana Excel Discussion (Misc queries) 7 December 9th 04 10:18 PM


All times are GMT +1. The time now is 02:33 PM.

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

About Us

"It's about Microsoft Excel"