Count if query

burdie87

Board Regular
Joined
May 25, 2005
Messages
152
Hey guys and girls,

Hopefully a quick one for all you wizz kids on excel.

Is it possible to make an if statement in a cell that only adds the cells in a collum if they are not struck through.

I use this for when an order is complete and would like my total at the bottom of the column to change when I strike out an order in the list.

Any ideas will be appreciated.

Regards

Alan.
 
Alan

Why not just have another column indicating if an order is complete?

Then you could use a straightforward SUMIF/COUNTIF.

And if you still want the strike through that can easily be achieved through conditional formatting.
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Norie,

Thanks for your thought. I was going to do this but there are other columns that would be effected as well as the fact I wanted a formula that would work for multiple columns which Kris's does.

The last step is to simple find a way of making the page refresh without having to double click the formula cell and click the green tick to make the figures update.

Alan.
 
Upvote 0
Alan

And you couldn't use more than one formula?

And utilise some of Excel 256 columns?
 
Upvote 0
Well I could but its to do with print per page & layout. Also im so close now with this formula it seems a shame to throw it away to then go back to conditional formatting and extra columns.

Alan.
 
Upvote 0
Hi Alan,

An UDF won't fire when a cell format changes. So you have to force the workbook to calculate the cells. (F9 or Shift+F9)

Format Painter is a command button to copy the format of a cell.(see the icon something like a brush on your toolbar)
 
Upvote 0

Forum statistics

Threads
1,214,786
Messages
6,121,546
Members
449,038
Latest member
Guest1337

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