Hello,just made a account to the forum.
I 'm studying Economics,and i have a excersise to do on Excel,where i have to use the Benford law in an example of a country's population.
there is huge list with information about the population of the country in each city adn "sub city" of it . Copy pasting a very small part from the excersise:
ΔΗΜΟΣ ΔΡΑΜΑΣ 55.632
Δ.Δ.Δράμας 43.485
Δ.Δ.Καλλιφύτου 1.149
Δ.Δ.Καλού Αγρού 1.216
Δ.Δ.Κουδουνίων 885
Κ.Δ.Λιβαδερού 146
Δ.Δ.Μακρυπλαγίου 84
Δ.Δ.Μαυροβάτου 714
Δ.Δ.Μικροχωρίου 598
ΔΗΜΟΣ ΔΟΞΑΤΟΥ 11.000
On the left it's the name of the sub citys and on the right the total population of each one of them.
On previous part of the excersise i had to find with a comand how many the sub citys exist in the list.So i use the the command > =COUNTIFS(C1:C7244; "Δ.Δ*"; D1:D7244; ">100000" )
which gives me the result that i want.But as u can see the names of the sub citys start with Δ.Δ or Κ.Δ.So in order to finnd out the total nuber of sub citys i had to make a seperate command to count the Κ.Δ aswell > =COUNTIFS(C1:C7244; "K.*"; D1:D7244; ">100000" ) which works fine,as intended.
The first question: is there a way to make the 2 commands in one?? tried the =COUNTIFS(C1:C7244; OR("Δ.Δ*";"Κ.*"); D1:D7244; ">100000" ) But dsn't work as intended ...
And the 2nd question:
In Benford's law i need the 1st Digit ofthe population of each sub city.Becouse in the list of sub citys there are major citys aswell i can't just use the =Left(D1) and drag it to the end of the list.
I need a command that will will give me the First digit of the of population for each sub city it excists in the list.Like, When u see Δ.Δ or Κ.Δ on the city's name then go to the citys population,and show my the 1st digit of that population !
Hope u undrestand what i mean :D
ty
Bookmarks