# Age recode isn't working.  Only showing one age range past 1990.  Not sure why.

**URL:** <https://forum.ipums.org/t/age-recode-isnt-working-only-showing-one-age-range-past-1990-not-sure-why/592>\
**Category:** USA\
**Created:** [July 28, 2014, 7:18pm UTC](https://forum.ipums.org/t/age-recode-isnt-working-only-showing-one-age-range-past-1990-not-sure-why/592 "2014-07-28T19:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![obroc](https://avatars.discourse-cdn.com/v4/letter/o/74df32/32.png) [@obroc](https://forum.ipums.org/u/obroc)\
**Post date:** [July 28, 2014, 7:18pm UTC](https://forum.ipums.org/t/age-recode-isnt-working-only-showing-one-age-range-past-1990-not-sure-why/592/1 "2014-07-28T19:18:00Z")

</div>

The recode is MyAgeCat, and I’ve seperated it by 5 year increments. For some reason, past 1990, it’s only showing the 30-34 age range. Any ideas on how I can fix this?

---

<div class="post-metadata">

**Author:** ![obroc](https://avatars.discourse-cdn.com/v4/letter/o/74df32/32.png) [@obroc](https://forum.ipums.org/u/obroc)\
**Post date:** [July 28, 2014, 7:58pm UTC](https://forum.ipums.org/t/age-recode-isnt-working-only-showing-one-age-range-past-1990-not-sure-why/592/2 "2014-07-28T19:58:00Z")

</div>

Just figured out a solution. While the recode itself wasn’t working, I found that collapsing the variable worked perfectly. Used age(c: 5,15) in case anyone runs into this problem as well.

See this page for further help: [https://sda.usa.ipums.org/helpfiles/h…](https://sda.usa.ipums.org/helpfiles/helpan.htm#icollapsethis)
