Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Senior Member
 
Posts: 105
Default IF formula with certain conditions to achieve a desired value

Hello friends,

Please refer attached sample file.

I have dates in column A that do not appear in the date format , eg 1.2013. 2.2013, 3.2013 etc

I have like to use a formula in another column B which will give me -

Q1 2013(which means quarter 1) for all dates that are 1.2013, 2.2013, 3.2013
Q2 2013 (which means quarter 2) for all dates that are 4.2013, 5.2013,6.2013
Q3 2013 (which means quarter 3) for all dates that are 7.2013, 8.2013,9.2013
Q4 2013 (which means quarter 4) for all dates that are 10.2013, 11.2013,12.2013

Thanks
Attached Files
File Type: zip Dates.zip (1.5 KB, 45 views)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default IF formula with certain conditions to achieve a desired value

Hi,

Am Wed, 12 Feb 2014 02:39:37 +0000 schrieb Excel Dumbo:

I have dates in column A that do not appear in the date format , eg
1.2013. 2.2013, 3.2013 etc

I have like to use a formula in another column B which will give me -

Q1 2013(which means quarter 1) for all dates that are 1.2013, 2.2013,
3.2013


in C2 try:
="Q"&ROUNDUP(INT(A2)/3,0) &" "&10000*MOD(A2,1)
and copy down


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3   Report Post  
Senior Member
 
Posts: 105
Default

thank you very much Claus. Formula worked perfect
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
How do I create a cell formula to achieve this? Don[_6_] Excel Discussion (Misc queries) 5 October 16th 09 07:57 AM
Formula to return desired Result MS-Exl-Learner Excel Discussion (Misc queries) 4 August 31st 09 06:11 PM
Using a formula across several columns to achieve a list of result G Bonham Excel Discussion (Misc queries) 0 January 11th 07 06:52 PM
Help! Formula that can Ref. hidden data & Populate Cells with desired text [email protected] Excel Worksheet Functions 1 April 8th 06 06:12 AM
Excel Logic needs a Doctor !! FORMULA FIX DESIRED!! Learning VBA[_3_] Excel Programming 7 November 27th 03 11:10 PM


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