LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 32
Default How to Find the Minus Kilometre

Thank you very much Mr Jacob,

and one more doubt how can i find how many KM they reduce per each vehicle
if there is any formula for all vehicles.i meam if they reduce one KM it show
-1 like this.

"Jacob Skaria" wrote:

If you are looking for a total aganist each row then in cell D2; apply the
below formula and copy down as required

(Enter the formula using Shift+Ctrl+Enter)
=MAX(0,C2-MAX(IF($A$2:A2=A2,IF($C$2:C2<C2,$C$2:C2)),B2))

--
Jacob


"Rohinikumar" wrote:

Hi Jacob i tried as you said but it shown like below

Veh NO ST KM CL KM Total KM 1
2415 12 19 7 88
2517 15 21 6 1
8521 18 25 7 1
2415 17 29 12 85
7895 25 45 20 1
2415 27 51 24 85
1245 45 60 15 1
2517 87 99 12 1
8521 15 25 10 1
3654 17 22 5 1
7895 28 36 8 1
3157 31 48 17 1

how can i highlight and how can i find howmany kM they reduced insted of
correct?
"Jacob Skaria" wrote:

The formula posted yesterday will give you the actual total kilometers done
by a vehicle (excluding the wrong entries). Try that as an array formula

--
Jacob


"Rohinikumar" wrote:

Hi some one can help i think...
That the i have a vehicle details sheet i mean starting kilometre and closing
kilometres, but some time that drivers are cheated like below i mean they are
mentioned less kilometre insted of correct, i mean closing K.M is 30
but they are mentioned starting 28 unnesosrly we have to paid for two
KM.some one can help me how to find minus Kilometres.

Veh NO ST KM CL KM Total KM
1245 12 19 7
2517 15 21 6
8521 18 25 7
3654 21 29 8
7895 25 45 20
3157 32 51 19
1245 45 60 15
2517 87 99 12
8521 15 25 10
3654 17 22 5
7895 28 36 8
3157 31 48 17



 
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 to change all cells from minus to plus and plus to minus Rockbear Excel Worksheet Functions 4 April 3rd 23 04:28 PM
Plus or Minus edwardpestian Excel Worksheet Functions 2 July 11th 06 02:14 PM
CHANGE TRAILING MINUS TO BRACKETS OR PRECEEDING MINUS Socal Analyst looking for help Excel Discussion (Misc queries) 2 May 12th 06 07:17 PM
How do I find and replace a number with a minus sign in front? D.Sommer Excel Discussion (Misc queries) 1 November 7th 05 10:13 AM
Value Minus Value = ??? Emzicle Excel Discussion (Misc queries) 9 August 23rd 05 08:22 PM


All times are GMT +1. The time now is 10:47 AM.

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"