Avatar of Roman F
Roman F
Flag for United States of America asked on

Need help with formula in excel

i have a question
i have a table :
Program      Target           Actual          
A                    10                   11              
B                     8                     7                
C                     7                     5                  
target met                            2

the problem how to make the formula for target met 2
i do not want any additional columns , just the formula to update the bold number,
example
Microsoft Excel

Avatar of undefined
Last Comment
Roman F

8/22/2022 - Mon
Ryan Chong

try use formula such as:

=COUNTIF(E2:E4,"Ok")

Open in new window

29017184.xlsx
Ryan Chong

opps, know what you mean now...

try use an Array Formula:

=SUM(IF(B2:B8>C2:C8,1))

Open in new window


Press Ctrl + Shift + Enter
Roman F

ASKER
thank you, but i know that...
i do not need column e, all should be updated in c6
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Ryan Chong

sample as attached.
29017184_b.xlsx
Roman F

ASKER
it does not work...
Ryan Chong

well, have you checked the "ver b" I uploaded in comment:  ID: 42099213 above ?

it seems working fine for me in Excel ver 2010.

snap.jpg
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Roman F

ASKER
i see it does perfectly in your file, but when i implemented into my file, {} does not let formula work
Roman F

ASKER
sorry, all great, thank you very much
ASKER CERTIFIED SOLUTION
Subodh Tiwari (Neeraj)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Roman F

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.