IF Function

MonsieurExcel

New Member
Joined
Oct 27, 2011
Messages
13
Hi there,

My question is related to the following (shortened) table:

[TABLE="width: 104"]
<TBODY>[TR]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 235"]
<TBODY>[TR]
[TD]Item Id[/TD]
[/TR]
[TR]
[TD]PFLX050S2050BKF[/TD]
[/TR]
[TR]
[TD]PFLX060S2050[/TD]
[/TR]
[TR]
[TD]PFLX060S2050/P1[/TD]
[/TR]
[TR]
[TD]PFLX060S2050BKF[/TD]
[/TR]
[TR]
[TD]PFLX080S2050[/TD]
[/TR]
[TR]
[TD]PFLX030CE1000[/TD]
[/TR]
[TR]
[TD]PFLX030FH1000[/TD]
[/TR]
[TR]
[TD]PFLX030S1000[/TD]
[/TR]
[TR]
[TD]PFLX060S2050BKF[/TD]
[/TR]
[TR]
[TD]PFLX020S2050[/TD]
[/TR]
[TR]
[TD]PFLX030FH2050[/TD]
[/TR]
[TR]
[TD]PFLX030S1220[/TD]
[/TR]
[TR]
[TD]PFLX030S1250[/TD]
[/TR]
[TR]
[TD]PFLX080S2000H/C[/TD]
[/TR]
[TR]
[TD]PFLX080S2050[/TD]
[/TR]
[TR]
[TD]PFLX100S2000H/C[/TD]
[/TR]
</TBODY><COLGROUP><COL></COLGROUP>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD]What I need to do is say something along the lines of...."if Item ID contains 2050 then "large", if it contains 2000 then "medium" etc....

I hope that's clear enough - if not driop me a line and I'll clarify.

Thanks a lot

[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</TBODY><COLGROUP><COL></COLGROUP>[/TABLE]
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
The description "etc" is a bit vague, but see if this helps get you going. Formula copied down.

Excel Workbook
AB
1Item IdSize
2PFLX050S2050BKFlarge
3PFLX060S2050large
4PFLX060S2050/P1large
5PFLX060S2050BKFlarge
6PFLX080S2050large
7PFLX030CE1000small
8PFLX030FH1000small
9PFLX030S1000small
10PFLX060S2050BKFlarge
11PFLX020S2050large
12PFLX030FH2050large
13PFLX030S1220unknown
14PFLX030S1250unknown
15PFLX080S2000H/Cmedium
16PFLX080S2050large
17PFLX100S2000H/Cmedium
ID Size
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top