Hi,
Amount Column M. I want to collect charges if the amount is less than 5,000/- then 50/- as charges,
above 5.000/- to 10.000/- charges of 100/- and above 10.000/- charges of 200/- in Column N.
Formula for this.
Thanks
Hi,
Amount Column M. I want to collect charges if the amount is less than 5,000/- then 50/- as charges,
above 5.000/- to 10.000/- charges of 100/- and above 10.000/- charges of 200/- in Column N.
Formula for this.
Thanks
"Please"?
Sample?
---------------------------------------------------------------------------------------------------------------------
Paul
Remember: Tell us WHAT you want to do, not HOW you think you want to do it
1. Use [CODE] ....[/CODE ] Tags for readability
[CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
2. Upload an example
Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
3. Mark the thread as [Solved] when you have an answer
Thread Tools (on the top right corner, above the first message)
4. Read the Forum FAQ, especially the part about cross-posting in other forums
http://www.vbaexpress.com/forum/faq...._new_faq_item3
Sample File::Sample.xlsx
=CHOOSE(IF($M2<5000,1,IF($M2<10000,2,3)),50,100,200)
If $M2 => 10000 then choose 3
Start in Row 2, then copy the formula down. Expand the formula with additional Ifs and Choices.
Last edited by SamT; 05-03-2021 at 03:04 PM.
I expect the student to do their homework and find all the errrors I leeve in.
Please take the time to read the Forum FAQ
or:
=INDEX({50;100;200},MATCH(M2,{0;5000;10000}))
or:
=VLOOKUP(M2,{0,50;5000,100;10000,200},2)
p45cal
Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.