Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Calculate Date range
 
Posts: n/a
Default Urgent - how to set a formula in excel spreadsheet

Hi all,

Please help me on the following:

I have about 1328 row of records with mixture of different products, those
products delivered with different turn around time.

For example

Product tour aorund time column C
A 1 0-90 Days
B Not delivered yet Not delivered yet
C 282 181-365 Days
D 86 0-90 Days
E 109 91-180 Days
A 304 181-365 Days
B 209 181-365 Days
C 144 91-180 Days
D 67 0-90 Days
E 352 181-365 Days
F 35 0-90 Days
G 180 91-180 Days
H Not delivered yet Not delivered yet


Please help me on how to set a formula in column C for 4 categories stated
above, as it is very time consuming to manual put in the category for 1328
rows.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
NAVEEN
 
Posts: n/a
Default Urgent - how to set a formula in excel spreadsheet

Dear xxx,

If the titles are in first row i.e., "Product tour aorund time column C",
start from the second row and type the following formula in C2 and copy and
paste it to the following cells to get the required results.

=IF(B2="Not delivered yet","Not delivered yet",IF(B2<=90,"0-90
Days",IF(B2<=180,"91-180 Days",IF(B2<=365,"181-365 Days","Invalid Input"))))


Thanks & regards,

Bye
NAVEEN

"Calculate Date range" wrote:

Hi all,

Please help me on the following:

I have about 1328 row of records with mixture of different products, those
products delivered with different turn around time.

For example

Product tour aorund time column C
A 1 0-90 Days
B Not delivered yet Not delivered yet
C 282 181-365 Days
D 86 0-90 Days
E 109 91-180 Days
A 304 181-365 Days
B 209 181-365 Days
C 144 91-180 Days
D 67 0-90 Days
E 352 181-365 Days
F 35 0-90 Days
G 180 91-180 Days
H Not delivered yet Not delivered yet


Please help me on how to set a formula in column C for 4 categories stated
above, as it is very time consuming to manual put in the category for 1328
rows.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rocket0612
 
Posts: n/a
Default Urgent - how to set a formula in excel spreadsheet


You haven't stated clearly to me what you are trying to achieve, is it
you want to be able to input 'A' and it will automatically bring up
'0-90 days'?


--
rocket0612
------------------------------------------------------------------------
rocket0612's Profile: http://www.excelforum.com/member.php...o&userid=19492
View this thread: http://www.excelforum.com/showthread...hreadid=514321

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav
 
Posts: n/a
Default Urgent - how to set a formula in excel spreadsheet


If you did not have not delivered you could use a lookup table, but the
following should suffice

=IF(B1<91,"0-90 days",IF(B1<181,"91-180 days",IF(B1<366,"181-365
days","Not Delivered")))

but a blank will return 0-90 days and anything above 365 eg 400 will
return nor delivered

If you wish to exclude blank

=IF(AND(B1<91,ISNUMBER(B1)),"0-90
days",IF(AND(B1<181,ISNUMBER(B1)),"91-180
days",IF(AND(B1<366,ISNUMBER(B1)),"181-365 days","Not Delivered")))

the above can probably be shorter but it works!

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=514321

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Urgent - how to set a formula in excel spreadsheet

Perhaps something like this:

For text or number of days in B2
C2: =IF(OR(ISTEXT(B2),ISBLANK(B2)),B2&"",(TRUNC((B2-1)/90)*90+1)&" to
"&TRUNC((B2+89)/90)*90&" days")

Blanks or text return the value of B2
Examples:
B2: Still verifying
C2: Still verifying

B2: 407
C2: 361 to 450 days

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Calculate Date range" wrote:

Hi all,

Please help me on the following:

I have about 1328 row of records with mixture of different products, those
products delivered with different turn around time.

For example

Product tour aorund time column C
A 1 0-90 Days
B Not delivered yet Not delivered yet
C 282 181-365 Days
D 86 0-90 Days
E 109 91-180 Days
A 304 181-365 Days
B 209 181-365 Days
C 144 91-180 Days
D 67 0-90 Days
E 352 181-365 Days
F 35 0-90 Days
G 180 91-180 Days
H Not delivered yet Not delivered yet


Please help me on how to set a formula in column C for 4 categories stated
above, as it is very time consuming to manual put in the category for 1328
rows.

Thanks



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
Percentage formula in Excel spreadsheet Rick New Users to Excel 5 November 10th 08 04:30 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Help, Excel Formula Needed -- Urgent Urgent Excel Worksheet Functions 2 December 14th 04 10:32 PM


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