Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel formulas

ResolvedVersion 2016

Kelli has attended:
Word Intermediate course

Excel Formulas

Hello,

Some of my formulas on my workbook are not calculating. There is no error in the formula (that I can see) and I have checked that there are no spaces, it is on automatic calculation.

The formula is below:

=SUMPRODUCT(IF(C1:C5000="AV",1,0),IF(E1:E5000="Enquiry",1,0))

Can anyone help me?

Thanks,
Kelli

RE: Excel Formulas

Hi Kelli,

Thank you for the forum.

There is nothing wrong with the formula. I assume it returns a zero.

See my Countifs below. Isn't what you try to do???

=countifs(C1:C5000,"AV",E1:E5000,"Enquiry")


Test what is wrong:

Type "AV" in a blank cell (Lets imaging you do it in cell A1) . In another blank cell type =Exact(A1,C1) (lets imaging you have AV in C1).

If the Exact function return True it is the exact same content in the two cells. If it returns False you have something hidden in the cells in column C.

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Excel Formulas

Thank you Jens! The formula you recommended has worked and fixed my problem.

Have a lovely day!

Kelli

RE: Excel Formulas

Hi Kelli,

If what you want is to count have many rows you, AV and Enquiry in the same row, the Sumproduct should look like this:


=SUMPRODUCT((C1:C5005="AV") * (E1:E5005="Enquiry"))


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Excel tip:

Switching Between Spreadsheets

As the Alt+Tab key switches between loaded applications or files, Ctrl+Tab switches between loaded or open Excel files. Hold down the Ctrl key until you have tabbed to the correct spreadsheet.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.