Match and Index

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following formula:
=IF(S5<8,S4+8.5/24+F28/24,NOW()-TODAY()+F28/24)

I need to replace the "4" in "S4" and the "5" in "S5" by a value stored in
an other cell.
I tried some variations of "Match" and "Index" but it doesn't seem to work.
Any help or pointer will be gratefully appreciated
 
One way:

=IF(INDIRECT("S" & M1)<8, INDIRECT("S" &
M2)+8.5/24+F28/24,NOW()-TODAY()+F28/24)

(where your values are in M1, M2)
Tim
 
Hi Tim,

That solved it!
I think I did try the same syntax but I may have messed up with a few
parenthesis...)

Thanks again!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Group and SUM 4
EXCEL Formula 3
Calculating formula ..circular references 1
2 sheets and a select 2
Lookups... 3
Lookup and copy area 3
Dynamic RecordSet Field Name 4
find matching parentheses in a string 1

Back
Top