Help Understanding Excel Formulas

purceld2

Well-known Member
Joined
Aug 18, 2005
Messages
586
Office Version
  1. 2013
Platform
  1. Windows
Could anybody point me in the right direction as to how I can understand Excel formulas. I am coming across formulas which I am finding difficult to understand. Are there any syntax rules etc. Tips to debug. Tools / Books which help write formula.

For example the formula below

=COUNTA(OFFSET(D18,0,MATCH(C$1,D$1:IV$1,FALSE)-1,1,12))

Thanks for any help in advance
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I've just learnt them as I go, usually a quick internet search helps.

With your specific example

=Counta - This counts the number of cells in a range that are not empty, it does not count or some their contents in anyway

Everything then winthin the outer brackes is defining the range to be counted.

OFFSET is used for dynamic ranges, in this case the Dynamic range starts at D18, looking across 0 rows, and then usually you'd have the number of columns, this though has been replaced by the match statement -1 so the result of this statement -1 is taken as the number of columns.

The Match function is looking for what's in C1, in the range D1:IV1, the FALSE is slightly unusal though as normally you'd have either 1, 0 or -1 here defining how Excel does the looking. The default search will look for the largest value that is less than or equal to whatever is in C1.

Hope that makes some sort of sense.
 
Upvote 0

Forum statistics

Threads
1,224,561
Messages
6,179,522
Members
452,923
Latest member
JackiG

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