#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SCP SCP is offline
external usenet poster
 
Posts: 5
Default function problem

I have A1 and A2
subtract A2 from A1
my problem lies when those numbers fall between 12 - 12.50
I need it to still subtract them but if it falls between there, I need to
additionally subtract another .50
wherever this falls, is a completely random column

Is there a formula for somthing like this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default function problem

One way:

=A2-A1-(AND(A1=12,A2<=12.5)*0.5)

--
Biff
Microsoft Excel MVP


"Scp" wrote in message
...
I have A1 and A2
subtract A2 from A1
my problem lies when those numbers fall between 12 - 12.50
I need it to still subtract them but if it falls between there, I need to
additionally subtract another .50
wherever this falls, is a completely random column

Is there a formula for somthing like this?



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
Function Problem Scp Excel Worksheet Functions 2 August 13th 09 04:32 PM
MAX / MIN function problem [email protected] Excel Discussion (Misc queries) 4 April 13th 08 02:20 AM
Problem with IF function [email protected] Excel Discussion (Misc queries) 5 January 19th 06 04:11 PM
function problem chindo Excel Worksheet Functions 6 November 10th 05 02:29 PM
Function problem Sweeny Excel Worksheet Functions 8 October 17th 05 12:13 AM


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