In a formule how do you skip some rows?

Captain Randy

Board Regular
Joined
Sep 26, 2010
Messages
68
:rolleyes: I have columns A B C D E F; I was working with formule

=countif(A2:E2,">.0000").
The trouble this formule counts all the columns between A to D.

I just want to see if A2 is greater then E2 and count it. The count should be 1, I get a count of 4.

With the powerful minds in this group I know someone has it on the top of there head.

Thank You in advance for your help and input.:beerchug:
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hello Alphafrog
The formule you gave me once I worked with it for a few times, yours was
=IF(B2>E2,1,0) for some reason it just did not want to work.
So I just change the columns around.

=IF (E2> B2,1,0) It worked on the first few coulmns it looked go so I runned all the way down..

I say to you, "Thank You, Sir" great job.

Once again this group came through again.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,881
Members
452,948
Latest member
Dupuhini

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