Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Meg
 
Posts: n/a
Default Excel function help Please

I was hoping I could get some help with writing an excel function
generally I would like to know how to use IF THEN functions.

Like if the sum of a data range is Less than a certain value then
execute equation A, else
if the sum of a data range is greater than a certain value then execute
equation B.

Thanks for your help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sandy Mann
 
Posts: n/a
Default Excel function help Please

Meg,

The general syntax for a IF() function is:

=IF(Test, Do if Test is True, Do If Test is False)

The Do if Test True and Do if Test False parts can be any legal Excel
statement including anothe IF() function.

In your example the test would be SUM(A1:A10)100 The answer to which will
either be TRUE or FALSE, so the whole function will be:

=IF(SUM(A1:A10)10,COUNTIF(B1:B100,"Meg"),AVERAGE( C1:C500))

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"Meg" wrote in message
ups.com...
I was hoping I could get some help with writing an excel function
generally I would like to know how to use IF THEN functions.

Like if the sum of a data range is Less than a certain value then
execute equation A, else
if the sum of a data range is greater than a certain value then execute
equation B.

Thanks for your help.



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
IS THERE AN INTERPOLATION FUNCTION IN EXCEL 2003 Cooper Excel Worksheet Functions 2 December 23rd 05 04:51 AM
How do i execute a VBA function by clicking on an excel cell? Matthew Excel Discussion (Misc queries) 1 December 7th 05 01:10 AM
Excel 2003 Slow Function Argument Window [email protected] Excel Discussion (Misc queries) 2 June 28th 05 06:53 PM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM


All times are GMT +1. The time now is 09:02 AM.

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"