Stephen_IV
Well-known Member
- Joined
- Mar 17, 2003
- Messages
- 1,180
- Office Version
- 365
- 2019
- Platform
- Windows
I have a set of data in column A that I would like transposed using VBA. I would like to put the data under the proper bin. Bins are 0-64, 65-72, 73-82, 83-90, 91-100.
<table class="tableizer-table">
<thead><tr class="tableizer-firstrow"><th>20</th></tr></thead><tbody>
<tr><td>37</td></tr>
<tr><td>57</td></tr>
<tr><td>62</td></tr>
<tr><td>64</td></tr>
<tr><td>65</td></tr>
<tr><td>71</td></tr>
<tr><td>70</td></tr>
<tr><td>78</td></tr>
<tr><td>78</td></tr>
<tr><td>78</td></tr>
<tr><td>79</td></tr>
<tr><td>82</td></tr>
<tr><td>87</td></tr>
<tr><td>88</td></tr>
<tr><td>88</td></tr>
<tr><td>88</td></tr>
<tr><td>89</td></tr>
<tr><td>89</td></tr>
<tr><td>89</td></tr>
<tr><td>92</td></tr>
<tr><td>93</td></tr>
<tr><td>94</td></tr>
<tr><td>100</td></tr>
<tr><td>100</td></tr>
</tbody></table>
To this starting in Column C:
<table class="tableizer-table">
<thead><tr class="tableizer-firstrow"><th>0-64</th><th>65-72</th><th>73-82</th><th>83-90</th><th>91-100</th></tr></thead><tbody>
<tr><td>20</td><td>65</td><td>78</td><td>87</td><td>92</td></tr>
<tr><td>37</td><td>71</td><td>78</td><td>88</td><td>93</td></tr>
<tr><td>57</td><td>70</td><td>78</td><td>88</td><td>94</td></tr>
<tr><td>62</td><td> </td><td>79</td><td>88</td><td>100</td></tr>
<tr><td>64</td><td> </td><td>82</td><td>89</td><td>100</td></tr>
<tr><td> </td><td> </td><td> </td><td>89</td><td> </td></tr>
<tr><td> </td><td> </td><td> </td><td>89</td><td></td></tr>
</tbody></table>
Thanks in advance!!!
<table class="tableizer-table">
<thead><tr class="tableizer-firstrow"><th>20</th></tr></thead><tbody>
<tr><td>37</td></tr>
<tr><td>57</td></tr>
<tr><td>62</td></tr>
<tr><td>64</td></tr>
<tr><td>65</td></tr>
<tr><td>71</td></tr>
<tr><td>70</td></tr>
<tr><td>78</td></tr>
<tr><td>78</td></tr>
<tr><td>78</td></tr>
<tr><td>79</td></tr>
<tr><td>82</td></tr>
<tr><td>87</td></tr>
<tr><td>88</td></tr>
<tr><td>88</td></tr>
<tr><td>88</td></tr>
<tr><td>89</td></tr>
<tr><td>89</td></tr>
<tr><td>89</td></tr>
<tr><td>92</td></tr>
<tr><td>93</td></tr>
<tr><td>94</td></tr>
<tr><td>100</td></tr>
<tr><td>100</td></tr>
</tbody></table>
To this starting in Column C:
<table class="tableizer-table">
<thead><tr class="tableizer-firstrow"><th>0-64</th><th>65-72</th><th>73-82</th><th>83-90</th><th>91-100</th></tr></thead><tbody>
<tr><td>20</td><td>65</td><td>78</td><td>87</td><td>92</td></tr>
<tr><td>37</td><td>71</td><td>78</td><td>88</td><td>93</td></tr>
<tr><td>57</td><td>70</td><td>78</td><td>88</td><td>94</td></tr>
<tr><td>62</td><td> </td><td>79</td><td>88</td><td>100</td></tr>
<tr><td>64</td><td> </td><td>82</td><td>89</td><td>100</td></tr>
<tr><td> </td><td> </td><td> </td><td>89</td><td> </td></tr>
<tr><td> </td><td> </td><td> </td><td>89</td><td></td></tr>
</tbody></table>
Thanks in advance!!!