Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2010, 11:38 PM
Learner7 Learner7 is offline How can I write the following (whole) formula in a single cell? Windows XP How can I write the following (whole) formula in a single cell? Office 2007
Advanced Beginner
How can I write the following (whole) formula in a single cell?
 
Join Date: May 2010
Posts: 51
Learner7 is on a distinguished road
Default How can I write the following (whole) formula in a single cell?

Hi,

How can I write the following (whole) formula in a single cell (Cell G10)?

If Cell F10 (Which has "Current Date") value is less or equal to Cell E10 (Which has "Start Date") value, then it should be
=SUM(F10-E10+1) in Cell G10

If Cell F10 (Which has "Current Date") value is heigher than Cell E10 (Which has "Start Date") value, then it should be =SUM(C10) in Cell G10

Thanks in advance for any help.

Regards.
Reply With Quote
  #2  
Old 07-19-2010, 10:06 AM
ConneXionLost's Avatar
ConneXionLost ConneXionLost is offline How can I write the following (whole) formula in a single cell? Windows XP How can I write the following (whole) formula in a single cell? Office 2003
Simulacrum
 
Join Date: Jan 2010
Location: Victoria, Canada
Posts: 86
ConneXionLost is on a distinguished road
Default

Hi,

Code:
=IF(F10<=E10,F10-E10+1,C10)
Cheers,
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I fill cell color starting from Cell D5 using Conditional formatting instead Learner7 Excel 0 07-08-2010 05:50 AM
How can I write the following (whole) formula in a single cell? Protect formula in cell? markg2 Excel 4 05-24-2010 11:50 AM
Pasting multiple photos - one photo per cell in a single oepration mccruise Word 0 04-07-2010 04:13 AM
How can I write the following (whole) formula in a single cell? Moving formula range multiple cells when moving sum over one cell FraserKitchell Excel 4 02-26-2010 10:38 AM
Auto-populate an MS Word table cell with text from a diff cell? dreamrthts Word Tables 0 03-20-2009 01:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft