LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 129
Default IF and OR Function

Hello,

Can I edit the formula below to include another criteria

=IF(OR(ISNUMBER(SEARCH("SEA",H2)),ISNUMBER(SEARCH( "EXPORT",H2)),ISNUMBER(SEARCH("K",H2))),C2+32,C2+7 )

The formula looks up Sea, Export or K within col H and if true will add 32
days onto the value in Col C, if not true it will just add 7 days.

I have a part number which will take longer to arrive than 32 days so I need
to include this in the calculation.

The formula needs to include a search in col D and if BCRFRMXX00002 is found
add 42 days to the value in col C regardless to the value in Col H .

Col H is the method of shipment

This would need to be the first search criteria.

I have tried

=IF(OR(ISNUMBER(SEARCH("BCRFRMXX00002",D2)),C2+42, ISNUMBER(SEARCH("SEA",H2)),ISNUMBER(SEARCH("EXPORT ",H2)),ISNUMBER(SEARCH("K",H2))),C2+32,C2+7)

Can you please advise me.

ManyThanks

Winnie
 
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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


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