Newbie with text problem

Mr Ned

New Member
Joined
Sep 20, 2011
Messages
2
Hello,

I have a workbook which calculates the salesfigures from the team and in the summary page it all totals correctly. I am using the sumproduct function to do this.

As I now have to exclude certain rows where the vendor code begins with "DS ALC". I would like to do this directly on the data sheet, and I would like to do this by reviewing the date field and placing a "0" in a new cell where the vendor code is as above.

I thought I might be able to use an "if" statement

sorry if I am vauge
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Thanks that will give me the value if the text is an exact match, but I have other vender codes that start with DS ALC -1 and so on, so do i need to use LEFT or RIGHT
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,696
Members
452,938
Latest member
babeneker

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