# How to calculate BMI with output in Image and text that interpret the BMI result and set the condition with age

**URL:** <https://community.thunkable.com/t/how-to-calculate-bmi-with-output-in-image-and-text-that-interpret-the-bmi-result-and-set-the-condition-with-age/1651294>\
**Category:** Questions about Thunkable X\
**Created:** [December 10, 2021, 4:23pm UTC](https://community.thunkable.com/t/how-to-calculate-bmi-with-output-in-image-and-text-that-interpret-the-bmi-result-and-set-the-condition-with-age/1651294 "2021-12-10T16:23:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kethmany.ratsavongy](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@kethmany.ratsavongy](https://community.thunkable.com/u/kethmany.ratsavongy)\
**Post date:** [December 10, 2021, 4:23pm UTC](https://community.thunkable.com/t/how-to-calculate-bmi-with-output-in-image-and-text-that-interpret-the-bmi-result-and-set-the-condition-with-age/1651294/1 "2021-12-10T16:23:17Z")

</div>

Hello every one,  
I build the app related to nutritional status and I would like to calculate the nutritional status of user by using variable age, weight and height, for adult \> 19 yrs we use BMI which have forrmular (weigh / height2) but if it children \< 5 yrs we will using Z-score, it is possible to set the calculation to use difference formular in the same text input?  
I would like the output to show according to the BMI and Z-score result, Ex: if BMI \> 40 ==\> show the picture of obese and show the text obese, if BMI = 30.0-40.0 then show the result of overweigh picture and text overweight; if age \< 19 using another formula ; if age \< 5 yrs calculate Z-score ,…  
thank you in advance for all opinion and help  
thank you very much

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 10, 2021, 4:49pm UTC](https://community.thunkable.com/t/how-to-calculate-bmi-with-output-in-image-and-text-that-interpret-the-bmi-result-and-set-the-condition-with-age/1651294/2 "2021-12-10T16:49:14Z")

</div>

You can either use an [if/else block](https://www.youtube.com/watch?v=RAtGL5GUmj0) for this or you can use a [test block](https://docs.thunkable.com/control#test). Both can be found in the Control drawer.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [March 10, 2022, 4:49pm UTC](https://community.thunkable.com/t/how-to-calculate-bmi-with-output-in-image-and-text-that-interpret-the-bmi-result-and-set-the-condition-with-age/1651294/3 "2022-03-10T16:49:49Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
