The 2 values i want to check are in column B and C then go down the list. if the 2 values are met i want it to take the first 3 letters of Column D.. here is an idea of what i want it to do
The list is a schedule from an NBA team Atlanta Hawks. I need it go down my list of dates check to see if they are home or away. If there is no value in column C then strHomeTeam = "Atl", it would then take the date (format it to "yyyymmdd")which would be used to append a url using formatted date text + home team text. (Url+date text, must be in yyyymmdd format + home team text) If column C does contain "@" then strHomeTeam = first 3 letters of opposing team which would be "IND" because both values have been met.
Atlanta Hawks Schedule
The list is a schedule from an NBA team Atlanta Hawks. I need it go down my list of dates check to see if they are home or away. If there is no value in column C then strHomeTeam = "Atl", it would then take the date (format it to "yyyymmdd")which would be used to append a url using formatted date text + home team text. (Url+date text, must be in yyyymmdd format + home team text) If column C does contain "@" then strHomeTeam = first 3 letters of opposing team which would be "IND" because both values have been met.
Atlanta Hawks Schedule
- B C D end result
- B is the date column
- C is home/away column
- D is Opposing team column
- end result is date text+ home team text to use for URL
- 10/29/2009 Portland "20091029" + "Atl"
- 10/30/2009 Chicago "20091030" + "Atl"
- 11/1/2009 @ Indiana "20091101" + "Ind"
- 11/3/2009 @ Sacramento "20091103" + "Sac"