LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 772
Default if statement

I'm confused because you mentions several formulas. 1st your if F is =1200
etc would go like this:
=IF(F1=1200,D1+12,IF(F1=1100,D1+11,""))
but doesn't say what to do if not 1100+ or 1200+ so I leave it blank.

I'm not sure where your round comes in.

--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.


"Dorothy J" wrote:

I am sorry, you can write code for this? I am not sure how to add it to the
formula...
--
Dorothy J


"John Bundy" wrote:

Floor rounds down, doesn't seem like that is what you want, this rounds to
the nearest 10th
=ROUND(A1,1)
They were referring to
If column F is = 1200, 12 is to be added to the total in column D, If F is
=1100, 11 months are added to the total in clolumn D, and soon.


this is basically code, post data and I can try to write you some code.

--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.


"Dorothy J" wrote:

I am sorry, i don't quite understand Floor? Also, I don't have an if
statement formula at all...
--
Dorothy J


"Sandy Mann" wrote:

Dorothy,

I meant of course:

Add:

+FLOOR(F19,100)/100

to the formula youm have in Column D!

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Dorothy Rural New Jersey" <Dorothy, Rural

wrote in message ...
Please, I have only a few hours, it is noon standard eastern time in USA.

I would like help on the following:

In column F there will be hours worked by employees, formated in number
style as -123.4, rounding the numbers to the nearest 10th. In column D
there
is a total of months the employee has accumulated for accredited service.
Each year months are added as per the amount of hours.

If column F is = 1200, 12 is to be added to the total in column D, If F
is
=1100, 11 months are added to the total in clolumn D, and so on.



 
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
Question using dates in a statement Wink20TCU Excel Discussion (Misc queries) 2 January 3rd 07 03:33 PM
SQL concatenation statement CLamar Excel Discussion (Misc queries) 0 June 29th 06 01:58 PM
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM


All times are GMT +1. The time now is 12:20 PM.

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"