Skip to content

Excel help pls

Featured Replies

Hi all.

I know there is something to help me here.

Is there a function that will read a cell, and given the value will replace with a certain text.

ie if cell contains number between 240 and 270 replace with an A, if between 210 and 240 replace with B etc.

Help!

I assume you would have something like a column of numbers and you would want the letter to appear in the column next to this? I'd probably do this with an IF formula although there is probably a better way.

  • Author

I assume you would have something like a column of numbers and you would want the letter to appear in the column next to this? I'd probably do this with an IF formula although there is probably a better way.

yes. column of different numbers, and letter (according to where number is in range) would come up next to this. What If would you do?

Say you wanted letters A-D I'd have say

IF(Cell<200,A,IF(Cell<250,B,IF(Cell<300,C,D)))

Which basically says if it's less than 200, then A, if not, then if it's less than 250, B and if it's not, and it's less than 300 then it's C and if it's nt less than 30,then it's D. This would get very long winded for say A-Z hence I say there is probably a better way! :smirk:

  • Author

perfect, thats what i remember...

Only have to do GCSE grades, so only 9 so not too long.

Thanks again

You're welcome.

If anybody does know of a better way I'd still be interested to hear it.

EDIT:

Just thought, if it was for grades, and you had whole numbers as the marks then you could have a list of say 1-100, or 1-400 as appropriate and then put the grades against each result. ie 90-100 would be A*, 80-89 would be A etc. Then do a VLOOKUP into that table against you list of grades. You could also use the ROUND formula to ensure your grades were whole numbers if they weren't already.

Edited by Hannibal

I think there is another way iirc, its to do with conditions. Its done with options/pop up boxes and not writing functions. You can change colour of font and background square as-well depending on condition..

Too long ago.. sorry don't remember, and I have 2007 now so have to relearn anything again :|

Edited by JLneonhug

I think there is another way iirc, its to do with conditions. Its done with options/pop up boxes and not writing functions. You can change colour of font and background square as-well depending on condition..

Too long ago.. sorry don't remember, and I have 2007 now so have to relearn anything again :|

That would be using conditional formatting, but I'm not sure if that coudl deliver the correct letter output or only change the format of the cells.

  • Author

You're welcome.

If anybody does know of a better way I'd still be interested to hear it.

EDIT:

Just thought, if it was for grades, and you had whole numbers as the marks then you could have a list of say 1-100, or 1-400 as appropriate and then put the grades against each result. ie 90-100 would be A*, 80-89 would be A etc. Then do a VLOOKUP into that table against you list of grades. You could also use the ROUND formula to ensure your grades were whole numbers if they weren't already.

Vlookup would indeed do it, but it was too long ago and cant remember how to set up. The first option you suggested will suffice... :)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.