public int fGetColumnIndex (String strXLS, String strSheetName, String strColumnName)
	{
		try
		{
			//Create the FileInputStream obhect			
			FileInputStream file = new FileInputStream(new File(strXLS));		     
		    //Get the workbook instance for XLS file 
		    HSSFWorkbook workbook = new HSSFWorkbook(file);
		 
		    //Get first sheet from the workbook
		    HSSFSheet sheet = workbook.getSheet(strSheetName);
		     
		    //Iterate through each rows from first sheet
		    Row row = sheet.getRow(0);
		    
		    //Get the Column count
		    int iColCount = row.getLastCellNum();
		    int iCell = 0;
		    int iIndex = -1;
	        String strTemp = "";

	        //Loop through all the columns
	        for (iCell = 0; iCell < iColCount; iCell ++)
	        {
        		//Get the index for Version and Enviornment
        		strTemp = sheet.getRow(0).getCell(iCell).getStringCellValue().trim().toUpperCase();
        		
        		//if the strColumnName contains Header then check for HEADER or HEADER_IND
        		if (strColumnName.equals("HEADER_IND") || strColumnName.equals("HEADER"))
        		{
        			if (strTemp.equals("HEADER") || strTemp.equals("HEADER_IND"))
        			{
        				iIndex = iCell;
        				//Exit the Loop
        				break;
        			}
        			
        		}else{ 
        			if (strTemp.equals(strColumnName.trim().toUpperCase()))
        			{
        				iIndex = iCell;
        				//Exit the Loop
        				break;
        			}
        		}
	        }
	        //Close the file
		    file.close();
		    
		    //Validate if index is returned properly or not
		    if (iIndex != -1)
		    {
		    	//Print the Column Index
//		    	System.out.println("Column Id for Column " + strColumnName + " is " + iIndex);
		    	return iIndex;
		    	
		    }else{
		    	System.out.println("Failed to find the Column Id for Column " + strColumnName);
		    	return -1;
		    	
		    }
			
		}catch (Exception e){
			System.out.println("Got exception while finding the Index column. Exception is " + e);
			return -1;
		}
	}