Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default nested ifs not enough

Hi everyone

I have results in random days. This next formula works perfectly when i have
a maximum "hole" of 7 days. The problem is when i have gaps of more than 7
days.

E157=IF(D157=0;"";IF(D157-D156<D157;D157-D156;IF(D157-D155<D157;D157-D155;SE(D157-D154<D157;D157-D154;IF(D157-D153<D157;D157-D153;IF(D157-D152<D157;D157-D152;IF(D157-D151<D157;D157-D151;IF(D157-D150<D157;D157-D150;"ERROR"))))))))

The D column is the readings column. The first if tells me that if i dont
have any reading then no result will show up. However, if that´s not the
case, i want in column E current reading minus last reading (whenever that
may be).

I tried understanding VLOOKUP but it doesnt seem to help me.

thanks a lot

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
nested if based on nested if in seperate sheet. how? scouserabbit Excel Worksheet Functions 5 March 2nd 07 04:03 PM
Nested Ifs Amy Excel Worksheet Functions 3 October 9th 06 01:54 AM
Nested IF Gos-C Excel Worksheet Functions 2 July 11th 06 04:52 PM
Nested If with And TheLeafs Excel Worksheet Functions 2 August 24th 05 05:24 PM
Nested IF ?? carl Excel Worksheet Functions 1 December 29th 04 02:08 PM


All times are GMT +1. The time now is 10:29 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"