Help with Formula

Ranger32195

Board Regular
Joined
Feb 4, 2009
Messages
131
Good afternoon,

I have the following formula that provides me with a number depending on time elapsed between specific dates, eg 1, 2 3 etc

=3*(NETWORKDAYS(K1127,L1127)-1)+MATCH(HOUR(L1127),{0,12,17})

I am now looking to modify the above so that anything with a difference of less than 1.5 network days (Or anything less than noon the following network day) to equal 1 - anything greater than noon the following network dayto be 2....

=1*(NETWORKDAYS(R150,P150)-1)+MATCH(HOUR(P150),{0,36})

Thanks in advance
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Ranger32195

Board Regular
Joined
Feb 4, 2009
Messages
131
Apologies for the bump...

Good afternoon,

I have the following formula that provides me with a number depending on time elapsed between specific dates, eg 1, 2 3 etc

=3*(NETWORKDAYS(K1127,L1127)-1)+MATCH(HOUR(L1127),{0,12,17})

I am now looking to modify the above so that anything with a difference of less than 1.5 network days (Or anything less than noon the following network day) to equal 1 - anything greater than noon the following network dayto be 2....

=1*(NETWORKDAYS(R150,P150)-1)+MATCH(HOUR(P150),{0,36})

Thanks in advance
 

Watch MrExcel Video

Forum statistics

Threads
1,109,360
Messages
5,528,233
Members
409,809
Latest member
VICKRAM

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top