Hi,
I am trying to read column values using column headers in excel (using java). As attached in the image, suppose i want to read for header "city", all subsequent cells under the column and display them . How will i do that ?
Looking at examples over the internet, i found most of the examples iterating using an iterator over the row.
Suppose i have a hashmap of key as headers of excel and subsequent values stored in ArrayList. Something like
HashMap<String, ArrayList<String>> hashmap =
new HashMap<String, ArrayList<String>>();
How should i proceed ? Can anyone help me with the code and logic?
Please do not mark this as duplicate, i have tried searching over stackoverflow and internet, but most of them iterate using the row.

Efrom each row.