Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help creating functions in Excel

Status
Not open for further replies.

allcarfan

Programmer
Jan 29, 2003
33
0
0
US
We are trying to create a function in Excel through VB where it counts all of the fields whose text is "Accept" - but in another field its manufacturers name must be equal to a manufacturers name in another field in another sheet.

basically a countif function, with multiple criteria. We tried CountA, but it didnt seem to work. We can get the Count if Function to work, but it counts ALL of the 'accepted' in a given column without regards to the manufacturer in another column.

Am I clear?

Shane
 
COUNTIF(AND(acceptmatch,namematch)) *Remember.......
If you don't use your head,
your going to have to use your feet.
 
Look into the dcount function...from the help / paper clip guy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top